cvs commit: src/sys/geom/label g_label.c g_label.h
g_label_iso9660.c g_label_msdosfs.c g_label_ufs.c
src/sbin/geom/class/label Makefile geom_label.c glabel.8
src/sys/modules/geom/geom_label Makefile src/sys/modules/geom ...
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Jul 2 12:43:19 PDT 2004
pjd 2004-07-02 19:40:36 UTC
FreeBSD src repository
Modified files:
sys/modules/geom Makefile
sbin/geom/class Makefile
etc/mtree BSD.include.dist
include Makefile
sys/conf NOTES files options
. MAINTAINERS
Added files:
sys/geom/label g_label.c g_label.h g_label_iso9660.c
g_label_msdosfs.c g_label_ufs.c
sbin/geom/class/label Makefile geom_label.c glabel.8
sys/modules/geom/geom_label Makefile
Log:
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!
Revision Changes Path
1.92 +1 -0 src/MAINTAINERS
1.84 +2 -0 src/etc/mtree/BSD.include.dist
1.215 +1 -1 src/include/Makefile
1.2 +1 -0 src/sbin/geom/class/Makefile
1.1 +7 -0 src/sbin/geom/class/label/Makefile (new)
1.1 +187 -0 src/sbin/geom/class/label/geom_label.c (new)
1.1 +182 -0 src/sbin/geom/class/label/glabel.8 (new)
1.1239 +1 -0 src/sys/conf/NOTES
1.922 +4 -0 src/sys/conf/files
1.458 +1 -0 src/sys/conf/options
1.1 +405 -0 src/sys/geom/label/g_label.c (new)
1.1 +97 -0 src/sys/geom/label/g_label.h (new)
1.1 +80 -0 src/sys/geom/label/g_label_iso9660.c (new)
1.1 +101 -0 src/sys/geom/label/g_label_msdosfs.c (new)
1.1 +102 -0 src/sys/geom/label/g_label_ufs.c (new)
1.8 +1 -0 src/sys/modules/geom/Makefile
1.1 +11 -0 src/sys/modules/geom/geom_label/Makefile (new)
More information about the cvs-src
mailing list