forked from KolibriOS/kolibrios
9ab6258bfe
- Added driver virt_disk.sys - Added the program "virtdisk" which allows you to add, delete and view virtual disks. git-svn-id: svn://kolibrios.org@9945 a494cfbc-eb01-0410-851d-a64ba20cac60
955 B
955 B
VIRT_DISK
Driver for mounting RAW disk images in KolibriOS.
To demonstrate the operation of the driver, the virtdisk program was written. Program allows you to add, delete and view virtual disks.
List of virtdisk arguments:
-
Delete command:
virtdisk -d <DISK_NUMBER>
-
Information from disk:
virtdisk -i <DISK_NUMBER>
-
Add disk image in file system:
virtdisk -a <IMAGE_PATH> -s <SECTOR_SIZE> -t <IMAGE_TYPE> -f <ACCESS_FLAGS>
-
Input list all virtual disks:
virtdisk -l
List flags:
ro
- read only accessrw
- read-write access
List disk image types:
RAW
- it is used to mount disk images in "raw", "img" and "iso" formats
Exemples command:
virtdisk -a /sd0/4/kolibri.img -f ro
virtdisk -d 3