freebsd-skq/sbin
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
..
adjkerntz Invoke tzset(3) within the main loop to catch changes to /etc/localtime 2004-04-27 14:43:03 +00:00
atacontrol Whitespace cleanup. 2004-05-20 15:01:26 +00:00
atm Markup overhaul. 2004-05-17 20:45:21 +00:00
badsect Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
bsdlabel Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
camcontrol Use WARNS?=3 for these in the arm case for now, due to toolchain issues. 2004-05-14 13:31:21 +00:00
ccdconfig Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
clri Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
comcontrol /etc/rc.serial -> /etc/rc.d/serial. 2003-12-23 07:16:38 +00:00
conscontrol Note that conscontrol set and unset are an interface for TIOCCONS. 2004-06-18 20:06:04 +00:00
devd Create a unix domain socket and write to it all the events that come 2004-07-01 07:24:18 +00:00
devfs Typedefing an array of incomplete structs is non-standard C code. 2004-06-02 23:02:31 +00:00
dhclient style.Makefile(5): 2004-02-23 20:25:27 +00:00
dmesg Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
dump Print the `99.99% done, finished soon' message only as often as the 2004-06-19 22:41:18 +00:00
dumpfs Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
dumpon Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
fdisk Make fdisk initialize the first instead of the last slice by default. 2004-06-14 07:21:19 +00:00
fdisk_pc98 style.Makefile(5): 2004-02-23 20:25:27 +00:00
ffsinfo Remove these MAINTAINER lines since the maintainers has had their 2004-04-01 20:31:49 +00:00
fsck Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
fsck_ffs Improve the delay algorithm used in bgfsck. From the author: 2004-05-18 19:51:41 +00:00
fsck_msdosfs Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
fsdb Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
fsirand style.Makefile(5): 2004-02-23 20:25:27 +00:00
gbde o Fix semantics of comparison function for qsort(3). According to qsort(3) 2004-06-25 13:04:49 +00:00
geom Introduce GEOM_LABEL class. 2004-07-02 19:40:36 +00:00
ggate Print mediasize in human readable form as well. 2004-06-21 09:20:06 +00:00
gpt Bump up the date and add spaces around commas. Thanks to ru@ for noticing. 2004-07-02 18:39:15 +00:00
growfs Include <time.h> instead of depending on namespace pollution in <sys/stat.h> 2004-04-04 04:17:07 +00:00
gvinum Add gvinum, the geom_vinum userland tool. 2004-06-12 21:22:47 +00:00
idmapd Markup nits. 2004-05-17 21:05:39 +00:00
ifconfig mdoc(7) police 2004-06-14 19:31:10 +00:00
init Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
ip6fw Make this WARNS=2 clean by: 2004-03-03 20:21:15 +00:00
ipf style.Makefile(5): 2004-02-23 20:25:27 +00:00
ipfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
ipfstat style.Makefile(5): 2004-02-23 20:25:27 +00:00
ipfw Fixed a bug spotted by compiling with -Wall. 2004-06-10 07:51:11 +00:00
ipmon style.Makefile(5): 2004-02-23 20:25:27 +00:00
ipnat style.Makefile(5): 2004-02-23 20:25:27 +00:00
kldconfig Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
kldload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldstat Use a better way to calculate POINTER_WIDTH suggested by pjd@. 2004-05-30 10:10:41 +00:00
kldunload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
ldconfig Add initial support for compiling a special 32 bit version of 2004-03-21 01:21:26 +00:00
mca style.Makefile(5): 2004-02-23 20:25:27 +00:00
md5 fix handling of an unknown progeam name 2004-06-22 09:18:50 +00:00
mdconfig Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
mdmfs Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
mknod Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
mksnap_ffs Style nit in previous commit. 2004-01-27 19:28:13 +00:00
mount Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
mount_cd9660 Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
mount_ext2fs Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
mount_hpfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
mount_msdosfs Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
mount_nfs Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
mount_nfs4 Markup nits. 2004-05-17 21:24:06 +00:00
mount_ntfs Include <sys/linker.h> for kldload(). 2004-05-24 13:39:06 +00:00
mount_nullfs Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
mount_std Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
mount_udf Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
mount_umapfs Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
mount_unionfs Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
natd Use strlcpy(3) instead of strcpy(3). 2004-05-10 22:33:12 +00:00
newfs Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
newfs_msdos style.Makefile(5): 2004-02-23 20:25:27 +00:00
nfsiod Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
nos-tun style.Makefile(5): 2004-02-23 20:25:27 +00:00
pfctl Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE). 2004-06-16 23:39:33 +00:00
pflogd Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE). 2004-06-16 23:39:33 +00:00
ping Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
ping6 Reapply local changes that got simply axed by the latest KAME merge. 2004-05-17 08:25:15 +00:00
quotacheck Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
rcorder Deal with harmful leading whitespace. 2004-07-02 18:37:52 +00:00
reboot Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
restore Use the correct types for the functions rst_opendir(), glob_readdir() and 2004-05-24 16:24:26 +00:00
route When parsing an argument as an address in getaddr(), heed the -host option 2004-06-16 06:29:41 +00:00
routed Turn on RFC 1724 compliant behaviour with regards to IP_ADD_MEMBERSHIP; 2004-06-16 05:08:57 +00:00
rtsol style.Makefile(5): 2004-02-23 20:25:27 +00:00
savecore Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
sconfig Clean up language. 2004-05-20 16:40:06 +00:00
setkey Reapply traditionally lost fixes, fixed some more. 2004-06-05 20:22:15 +00:00
shutdown Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
slattach Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
spppcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
startslip Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
sunlabel Fix indentation of continuation lines to (hopefully) comply with 2004-06-18 15:08:08 +00:00
swapon Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
sysctl Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
tunefs Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
umount Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
vinum 'ld' lists drives, not volumes. 2004-05-25 20:08:50 +00:00
Makefile - Connect geom(8) and its libraries to the build. 2004-05-20 10:37:13 +00:00
Makefile.inc Force a staticly linked /bin and /sbin for ia64. The necessary changes 2003-11-19 16:59:00 +00:00