freebsd-skq/include
pjd 7f4ea6942f 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
..
arpa
protocols Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com. 2004-02-25 23:45:57 +00:00
rpc Change the definition of NULL on ia64 (for LP64 compilations) from 2003-12-07 21:10:06 +00:00
rpcsvc Correct some types in the yp structures; this fixes a number of problems 2004-05-27 11:34:21 +00:00
_ctype.h Now that <runetype.h> no longer brings in namespace pollution, 2004-06-23 07:11:39 +00:00
a.out.h Adjust the system endian and a.out headers to be more MI and cross-building 2004-06-22 17:05:39 +00:00
ar.h
assert.h
bitstring.h
complex.h Add implementations for cimag{,f,l}, creal{,f,l} and conj{,f,l}. They are 2004-05-30 09:21:56 +00:00
cpio.h
ctype.h Now that <runetype.h> no longer brings in namespace pollution, 2004-06-23 07:11:39 +00:00
db.h
dirent.h Change the definition of NULL on ia64 (for LP64 compilations) from 2003-12-07 21:10:06 +00:00
dlfcn.h
elf-hints.h
elf.h
err.h
fmtmsg.h
fnmatch.h Now I understand what Bruce was getting at - -1 can be parsed as two 2003-12-18 10:41:39 +00:00
fstab.h
fts.h Fix some^Wseveral style bugs from last commit. 2004-05-12 21:38:39 +00:00
getopt.h Add getopt_long_only() 2004-02-24 08:09:20 +00:00
glob.h
grp.h
hesiod.h
histedit.h
ieeefp.h
ifaddrs.h Add the userland part of the NET_RT_IFMALIST sysctl MIB. A new function, 2003-11-14 18:53:22 +00:00
inttypes.h
iso646.h
kenv.h
langinfo.h
libgen.h
limits.h
link.h
locale.h Change the definition of NULL on ia64 (for LP64 compilations) from 2003-12-07 21:10:06 +00:00
Makefile Introduce GEOM_LABEL class. 2004-07-02 19:40:36 +00:00
malloc.h
memory.h
monetary.h
mpool.h
ndbm.h
netconfig.h
netdb.h Make the resolver(3) and many associated interfaces much more reentrant. 2004-02-25 21:03:46 +00:00
nl_types.h
nlist.h
nss.h It was reported that when using nss_ldap, getgrent(3) would behave 2004-01-09 13:43:49 +00:00
nsswitch.h
objformat.h
paths.h Define _PATH_MKSNAP_FFS and use it in dump(8) instead of assuming 2004-01-04 17:17:46 +00:00
pthread_np.h
pthread.h Add the pthread_atfork() prototype. 2003-11-04 20:10:15 +00:00
pwd.h
ranlib.h
readpassphrase.h
regex.h Now I understand what Bruce was getting at - -1 can be parsed as two 2003-12-18 10:41:39 +00:00
regexp.h
resolv.h Don't try to pass off a struct sockaddr as a struct sockaddr_in when it 2004-03-15 17:08:28 +00:00
rune.h Prefix the names of members of _RuneLocale and its sub-structures 2004-06-23 07:01:44 +00:00
runetype.h Prefix the names of members of _RuneLocale and its sub-structures 2004-06-23 07:01:44 +00:00
search.h
setjmp.h
sgtty.h
signal.h
stab.h
stdbool.h
stddef.h Change the definition of NULL on ia64 (for LP64 compilations) from 2003-12-07 21:10:06 +00:00
stdio.h Remove outdated comments. 2004-06-20 10:01:30 +00:00
stdlib.h POSIX clearly states that getsubopt() should be declared in <stdlib.h>, 2004-02-23 03:16:59 +00:00
string.h Change the definition of NULL on ia64 (for LP64 compilations) from 2003-12-07 21:10:06 +00:00
stringlist.h
strings.h Add and document ffsl(), fls() and flsl(). 2004-01-13 16:05:47 +00:00
sysexits.h
tar.h
time.h Change the definition of NULL on ia64 (for LP64 compilations) from 2003-12-07 21:10:06 +00:00
timeconv.h
timers.h
ttyent.h
ulimit.h
unistd.h Add optreset to getopt.h too since NetBSD getopt_long() (but not GNU one) 2004-02-23 04:51:07 +00:00
utime.h
utmp.h
uuid.h
varargs.h
vis.h Add a new flag to vis(3): VIS_GLOB which encodes the glob(3) magic 2003-10-30 10:40:49 +00:00
wchar.h Fix typo in putwc(). 2004-06-07 10:31:10 +00:00
wctype.h Use __isctype() instead of __istype() for iswdigit() and iswxdigit() for 2004-05-31 12:44:50 +00:00
wordexp.h Fix typo: WRDE_DOOFS -> WRDE_DOOFFS. 2004-06-30 13:55:08 +00:00