disklabel UID mapping interface
diskmap driver provides userland applications with a
means to map a disklabel UID to an actual device and open that device in one
atomic operation. This is achieved via the DIOCMAP
The ability to use a disklabel UID is helpful in situations where
a disk may appear to the operating system under different device names. For
example, plugging USB keys into differently configured systems (think sd0 or
sd1), or swapping between IDE and AHCI on a disk controller (wd0 or sd0).
Although the device names may change, the operating system is still able to
identify the disk by its UID.
- diskmap device
diskmap driver first appeared in
diskmap driver was written by Joel