186d7f5d3SJohn Marino# /etc/devtab 286d7f5d3SJohn Marino# 386d7f5d3SJohn Marino# This file contains label conversions for fstab, mount, fsck, hammer, 486d7f5d3SJohn Marino# and other commands which expect device paths. It is typically used 586d7f5d3SJohn Marino# to translate longer serial numbers (which devfs automatically installs 686d7f5d3SJohn Marino# as "/dev/serno/<serialnumber>[.suffix]" into short-form names to simplify 786d7f5d3SJohn Marino# fstab. 886d7f5d3SJohn Marino# 986d7f5d3SJohn Marino# For use cases a label is represented up to the last '.' (if any), 1086d7f5d3SJohn Marino# looked up, and then any suffix after and including the leading '.' is 1186d7f5d3SJohn Marino# tacked onto the result. So in /etc/fstab the label "fubar.s1a" 1286d7f5d3SJohn Marino# would translate to "/dev/serno/L123456.s1a" in our first example below. 1386d7f5d3SJohn Marino# 1486d7f5d3SJohn Marino# Currently the "serno" and "path" types are supported. Really any generic 1586d7f5d3SJohn Marino# type is supported and will translate into a subdirectory lookup in /dev. 1686d7f5d3SJohn Marino# The "path" type translates to an absolute path with no prepended /dev, 1786d7f5d3SJohn Marino# suitable for files represented by block devices. 1886d7f5d3SJohn Marino# 1986d7f5d3SJohn Marino# label type basepath 2086d7f5d3SJohn Marino# ----- ------ ------- 2186d7f5d3SJohn Marino# fubar serno L123456 2286d7f5d3SJohn Marino# fubar path /full/path 23