freebsd-dev/sys/modules/geom
Pawel Jakub Dawidek e1237b285b 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!
2004-07-02 19:40:36 +00:00
..
geom_apple
geom_bde
geom_bsd
geom_ccd Add new geom_ccd module 2003-06-09 21:49:54 +00:00
geom_concat Makefile needed for building geom_concat module. 2004-02-19 15:43:58 +00:00
geom_fox Add "GEOM_FOX", a class which detects and selects between multiple 2003-06-18 09:29:28 +00:00
geom_gate Makefile for geom_gate.ko. 2004-04-30 16:09:28 +00:00
geom_gpt
geom_label Introduce GEOM_LABEL class. 2004-07-02 19:40:36 +00:00
geom_mbr add the mbr_enc file so that we can load the module on sparc64. 2003-07-05 08:11:43 +00:00
geom_nop Modules Makefiles for geom_stripe and geom_nop. 2004-05-20 10:27:20 +00:00
geom_pc98
geom_stripe Modules Makefiles for geom_stripe and geom_nop. 2004-05-20 10:27:20 +00:00
geom_sunlabel
geom_vinum Add a module directory for geom_vinum. 2004-06-12 21:18:40 +00:00
geom_vol_ffs
Makefile Introduce GEOM_LABEL class. 2004-07-02 19:40:36 +00:00
Makefile.inc Include "../Makefile.inc" 2003-06-15 04:27:22 +00:00