…
|
||
---|---|---|
.. | ||
parser.inc | ||
README.md | ||
shell.inc | ||
Tupfile.lua | ||
virtdisk.asm |
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