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