edahdi allows you to modify the partition identifiers on a disk partitioned with AHDI or an AHDI compatible formatter. An AHDI partition format is usually only present on disks shared between
NetBSD and some other OS. The partition identifiers are used by
NetBSD as a guideline to emulate a disklabel on such a disk.
edahdi supports the following options:
device
The name of the raw device you want to edit.
The following partition identifiers are recognized by
NetBSD:
NBD
Partition is reserved for NetBSD. This can be either a root or an user partition. The first NBD partition on a disk will be mapped to partition a in NetBSD. The following NBD partitions will be mapped from d up. The filesystem type is ffs by default.
SWP
The first SWP partition is mapped to partition b.
GEM or BGM
These partitions are mapped from d up. The filesystem type is msdos.
NBR
NetBSD root partition (deprecated).
NBU
NetBSD user partition (deprecated).
NBS
NetBSD swap partition (deprecated).