… | |
… | |
485 | |
485 | |
486 | This designates a specific partition on a block device. C<< <parent> |
486 | This designates a specific partition on a block device. C<< <parent> |
487 | >> is an optional parent device on which to search on, and is often |
487 | >> is an optional parent device on which to search on, and is often |
488 | C<null>. Note that the angle brackets are part of the syntax. |
488 | C<null>. Note that the angle brackets are part of the syntax. |
489 | |
489 | |
490 | C<devicetypes> is one of C<harddisk>, C<floppy>, C<cdrom>, C<ramdisk>, |
490 | I<devicetypes> is one of C<harddisk>, C<floppy>, C<cdrom>, C<ramdisk>, |
491 | C<file> or C<vhd>, where the first three should be self-explaining, |
491 | C<file> or C<vhd>, where the first three should be self-explaining, |
492 | C<file> is usually used to locate a device by finding a magic file, and |
492 | C<file> is usually used to locate a device by finding a magic file, and |
493 | C<vhd> is used for virtual harddisks - F<.vhd> and F<-vhdx> files. |
493 | C<vhd> is used for virtual harddisks - F<.vhd> and F<.vhdx> files. |
494 | |
494 | |
495 | The C<partitiontype> is either C<mbr>, C<gpt> or C<raw>, the latter being |
495 | The I<partitiontype> is either C<mbr>, C<gpt> or C<raw>, the latter being |
496 | used for devices without partitions, such as cdroms, where the "partition" |
496 | used for devices without partitions, such as cdroms, where the "partition" |
497 | is usually the whole device. |
497 | is usually the whole device. |
498 | |
498 | |
499 | The C<diskid> identifies the disk or device using a unique signature, and |
499 | The I<diskid> identifies the disk or device using a unique signature, and |
500 | the same is true for the C<partitionid>. How these are interpreted depends |
500 | the same is true for the I<partitionid>. How these are interpreted depends |
501 | on the C<partitiontype>: |
501 | on the I<partitiontype>: |
502 | |
502 | |
503 | =over |
503 | =over |
504 | |
504 | |
505 | =item C<mbr> |
505 | =item C<mbr> |
506 | |
506 | |