DragonFly On-Line Manual Pages
DEVTAB(5) DragonFly File Formats Manual DEVTAB(5)
NAME
devtab -- label conversion file for device paths
DESCRIPTION
The devtab file contains label conversions for fstab(5), mount(8),
hammer(8), and other commands which expect device paths. It is typically
used to translate longer serial numbers (which devfs(5) automatically
creates as /dev/serno/<serial>[.suffix]) into short form names.
devtab is only read by programs, and not written; it is the duty of the
system administrator to properly create and maintain this file. Each
conversion is described on a separate line; fields on each line are sepa-
rated by tabs or spaces.
The first field specifies the conversion's label.
The second field is the conversion's type. Valid types are
serno Translates to /dev/serno
path Translates to the path as specified
The third field specifies the conversion's base path
FILES
/etc/devtab The devtab file resides in /etc.
EXAMPLES
This will translate references like fubar, fubar.s1a etc. to their
/dev/serno/L123456 counterparts:
fubar serno L123456
This will translate references like fubar, fubar.s1a etc. to their
/full/path counterparts:
fubar path /full/path
SEE ALSO
getdevpath(3), fstab(5), hammer(8), mount(8)
HISTORY
The devtab file format appeared in DragonFly 2.3.
DragonFly 3.5 September 13, 2009 DragonFly 3.5