freebsd-nq/sys/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
..
bde kthread_exit() no longer requires Giant, so don't force callers to acquire 2004-03-05 22:42:17 +00:00
concat Dump some more informations: 2004-05-26 11:36:27 +00:00
gate Remove unused argument for good. 2004-07-01 15:42:03 +00:00
label Introduce GEOM_LABEL class. 2004-07-02 19:40:36 +00:00
nop Fix format string. 2004-06-07 13:40:40 +00:00
stripe Dump some more informations: 2004-05-26 11:36:27 +00:00
vinum Mark a plex as 'newborn' when it is created. This is used to indicate 2004-06-25 18:04:33 +00:00
geom_aes.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_apple.c Move the name attribute to the end of the conftxt line to simplify 2004-04-01 01:33:37 +00:00
geom_bsd_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_bsd.c Do not check error code from closing ->access() calls, we know they succeed. 2004-02-14 17:59:44 +00:00
geom_ccd.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_ctl.c Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
geom_ctl.h Simplify the GEOM OAM api: Drop the request type, and let everything 2003-06-01 13:47:51 +00:00
geom_dev.c Duplicate the securelevel check from spec_vnops.c here. 2004-06-19 09:00:53 +00:00
geom_disk.c Fix regression in last commit. 2004-06-29 08:33:58 +00:00
geom_disk.h Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
geom_dump.c Rearrange some of the GEOM debugging tools to be more structured. 2004-03-10 08:49:08 +00:00
geom_event.c Rearrange some of the GEOM debugging tools to be more structured. 2004-03-10 08:49:08 +00:00
geom_fox.c Do not check error code from closing ->access() calls, we know they succeed. 2004-02-14 17:59:44 +00:00
geom_gpt.c Allow disks with a GPT to be used on big-endian machines. The GPT is 2004-04-30 05:05:39 +00:00
geom_int.h Rearrange some of the GEOM debugging tools to be more structured. 2004-03-10 08:49:08 +00:00
geom_io.c The g_up and g_down threads use a local 'mymutex' mutex to allow WITNESS 2004-06-26 23:27:42 +00:00
geom_kern.c don't call sbuf_clear() right after sbuf_new(), it is not necessary. 2004-02-10 10:54:19 +00:00
geom_mbr_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_mbr.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_mirror.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_pc98_enc.c Use __FBSDID(). 2003-06-11 06:49:16 +00:00
geom_pc98.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_slice.c Free only if pointer isn't NULL. 2004-07-01 12:42:13 +00:00
geom_slice.h Add a destroy_geom method to the slice "library". 2003-05-31 19:25:05 +00:00
geom_subr.c Move "is consumer attached?" check before G_VALID_PROVIDER() check, 2004-03-18 07:17:10 +00:00
geom_sunlabel_enc.c Add SVR4-compatible VTOC-style elements to the Sun label. The 2004-06-01 20:18:25 +00:00
geom_sunlabel.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom_vol_ffs.c Remove the absolute count g_access_abs() function since experience has 2004-02-12 22:42:11 +00:00
geom.h Kill g_access_rel() already now before we send it down 5-stable 2004-06-21 20:31:49 +00:00
notes A note about which #include files may be used where. 2003-03-23 10:08:13 +00:00