named: conditionally copy files to chroot (rc-script)
[dragonfly.git] / etc / devtab
CommitLineData
9c9ac2f1
MD
1# /etc/devtab
2#
3# This file contains label conversions for fstab, mount, fsck, hammer,
34590fb1
SW
4# and other commands which expect device paths. It is typically used
5# to translate longer serial numbers (which devfs automatically installs
6# as "/dev/serno/<serialnumber>[.suffix]" into short-form names to simplify
9c9ac2f1
MD
7# fstab.
8#
9# For use cases a label is represented up to the last '.' (if any),
34590fb1
SW
10# looked up, and then any suffix after and including the leading '.' is
11# tacked onto the result. So in /etc/fstab the label "fubar.s1a"
12# would translate to "/dev/serno/L123456.s1a" in our first example below.
9c9ac2f1
MD
13#
14# Currently the "serno" and "path" types are supported. Really any generic
15# type is supported and will translate into a subdirectory lookup in /dev.
16# The "path" type translates to an absolute path with no prepended /dev,
17# suitable for files represented by block devices.
18#
19# label type basepath
20# ----- ------ -------
21# fubar serno L123456
22# fubar path /full/path