Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 955 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 955 Bytes

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. foto

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 access
  • rw - 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