man.bsd.lv manual page server

Manual Page Search Parameters

DEVTAB(5) File Formats Manual DEVTAB(5)

devtablabel conversion file for device paths

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 separated by tabs or spaces.

The first field specifies the conversion's label.

The second field is the conversion's type. Valid types are

Translates to /dev/serno
Translates to the path as specified

The third field specifies the conversion's base path

/etc/devtab
The devtab file resides in /etc.

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

getdevpath(3), fstab(5), hammer(8), mount(8)

The devtab file format appeared in DragonFly 2.3.

September 13, 2009 DragonFly-5.6.1