aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2004-07-02 19:40:36 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2004-07-02 19:40:36 +0000
commite1237b285bc48cc79cf812d164cc7bfdfeac16c4 (patch)
tree8e73f4b25ccaa53d48b0ffc0919724a8f6d36e90 /include
parent11c798a4de7cf48880ddddc4b6d5aff94016bf43 (diff)
Introduce GEOM_LABEL class.
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!
Notes
svn path=/head/; revision=131476
Diffstat (limited to 'include')
-rw-r--r--include/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index f4d78dff2679..130e2266b258 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -35,7 +35,7 @@ LSUBDIRS= cam/scsi dev/an dev/bktr dev/firewire dev/ic dev/iicbus \
dev/ofw dev/ppbus dev/smbus dev/usb dev/wi dev/utopia fs/devfs \
fs/fdescfs fs/fifofs fs/msdosfs fs/ntfs fs/nullfs fs/nwfs fs/portalfs \
fs/procfs fs/smbfs fs/udf fs/umapfs fs/unionfs \
- geom/concat geom/gate geom/nop geom/stripe \
+ geom/concat geom/gate geom/label geom/nop geom/stripe \
isofs/cd9660 netatm/ipatm netatm/sigpvc netatm/spans netatm/uni \
netgraph/atm security/mac_biba security/mac_bsdextended \
security/mac_lomac security/mac_mls security/mac_partition \