DragonFly On-Line Manual Pages

Search: Section:  


GETDEVPATH(8)          DragonFly System Manager's Manual         GETDEVPATH(8)

NAME

getdevpath -- translate device partial or label to device path

SYNOPSIS

getdevpath [-qr] devname ...

DESCRIPTION

The getdevpath utility directly calls the getdevpath(3) function for each supplied device name, translating the device name to a device path. The -q option will generate just the translated output, one per line. An empty line is generated if the device name could not be translated. The -r option will take the translated device name and do a further translation of it if it is a softlink, returning the contents of the softlink.

FILES

getdevpath will search the /usr/local/etc/devtab, /etc/devtab, and /etc/defaults/devtab files for label translations.

EXAMPLES

getdevpath da0 getdevpath /dev/da0 getdevpath serno:ABC123 getdevpath MyDisk

SEE ALSO

getdevpath(3), devtab(5), fstab(5)

HISTORY

The getdevpath utility appeared in DragonFly 2.3 DragonFly 3.5 July 10, 2009 DragonFly 3.5

Search: Section: