mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
e1237b285b
This class is used for detecting volume labels on file systems: UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660. It also provide native labelization (there is no need for file system). g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow. g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found where volume labels are stored and I use those offsets here, but with this class it should be easy to do it as it should be done by someone who know how. Implementing volume labels detection for other file systems also should be trivial. New providers are created in those directories: /dev/ufs/ (UFS1, UFS2) /dev/msdosfs/ (FAT12, FAT16, FAT32) /dev/iso9660/ (ISO9660) /dev/label/ (native labels, configured with glabel(8)) Manual page cleanups and some comments inside were submitted by Simon L. Nielsen, who was, as always, very helpful. Thanks!
203 lines
2.2 KiB
Plaintext
203 lines
2.2 KiB
Plaintext
# $FreeBSD$
|
|
#
|
|
# Please see the file src/etc/mtree/README before making changes to this file.
|
|
#
|
|
|
|
/set type=dir uname=root gname=wheel mode=0755
|
|
.
|
|
altq
|
|
..
|
|
arpa
|
|
..
|
|
bsnmp
|
|
..
|
|
c++
|
|
3.3
|
|
backward
|
|
..
|
|
bits
|
|
..
|
|
ext
|
|
..
|
|
..
|
|
..
|
|
cam
|
|
scsi
|
|
..
|
|
..
|
|
crypto
|
|
..
|
|
dev
|
|
an
|
|
..
|
|
bktr
|
|
..
|
|
firewire
|
|
..
|
|
ic
|
|
..
|
|
iicbus
|
|
..
|
|
ofw
|
|
..
|
|
ppbus
|
|
..
|
|
smbus
|
|
..
|
|
usb
|
|
..
|
|
utopia
|
|
..
|
|
wi
|
|
..
|
|
..
|
|
fs
|
|
devfs
|
|
..
|
|
fdescfs
|
|
..
|
|
fifofs
|
|
..
|
|
msdosfs
|
|
..
|
|
ntfs
|
|
..
|
|
nullfs
|
|
..
|
|
nwfs
|
|
..
|
|
portalfs
|
|
..
|
|
procfs
|
|
..
|
|
smbfs
|
|
..
|
|
udf
|
|
..
|
|
umapfs
|
|
..
|
|
unionfs
|
|
..
|
|
..
|
|
geom
|
|
concat
|
|
..
|
|
gate
|
|
..
|
|
label
|
|
..
|
|
nop
|
|
..
|
|
stripe
|
|
..
|
|
..
|
|
gnu
|
|
posix
|
|
..
|
|
..
|
|
isc
|
|
..
|
|
isofs
|
|
cd9660
|
|
..
|
|
..
|
|
kadm5
|
|
..
|
|
libmilter
|
|
..
|
|
machine
|
|
pc
|
|
..
|
|
..
|
|
net
|
|
..
|
|
net80211
|
|
..
|
|
netatalk
|
|
..
|
|
netatm
|
|
ipatm
|
|
..
|
|
sigpvc
|
|
..
|
|
spans
|
|
..
|
|
uni
|
|
..
|
|
..
|
|
netgraph
|
|
atm
|
|
..
|
|
bluetooth
|
|
include
|
|
..
|
|
..
|
|
..
|
|
netinet
|
|
..
|
|
netinet6
|
|
..
|
|
netipsec
|
|
..
|
|
netipx
|
|
..
|
|
netkey
|
|
..
|
|
netnatm
|
|
msg
|
|
..
|
|
saal
|
|
..
|
|
sig
|
|
..
|
|
..
|
|
netncp
|
|
..
|
|
netsmb
|
|
..
|
|
nfs
|
|
..
|
|
nfsclient
|
|
..
|
|
nfsserver
|
|
..
|
|
objc
|
|
..
|
|
openssl
|
|
..
|
|
pccard
|
|
..
|
|
posix4
|
|
..
|
|
protocols
|
|
..
|
|
readline
|
|
..
|
|
rpc
|
|
..
|
|
rpcsvc
|
|
..
|
|
security
|
|
mac_biba
|
|
..
|
|
mac_bsdextended
|
|
..
|
|
mac_lomac
|
|
..
|
|
mac_mls
|
|
..
|
|
mac_partition
|
|
..
|
|
..
|
|
sys
|
|
..
|
|
ufs
|
|
ffs
|
|
..
|
|
ufs
|
|
..
|
|
..
|
|
vm
|
|
..
|
|
..
|