NAME
devtab
—
label conversion file for device
paths
DESCRIPTION
Thedevtab
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 separated by tabs or spaces.
The first field specifies the conversion's label.
The second field is the conversion's type. Valid types are
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
HISTORY
The devtab
file format appeared in
DragonFly 2.3.