opnsense-src/sys
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
..
alpha Allocate s/g segments in the tag rather than on the stack. 2004-07-02 03:47:28 +00:00
amd64 We need to make resources visible here as well. 2004-06-30 19:24:26 +00:00
arm Remove unused includes. 2004-06-28 11:35:05 +00:00
boot When building a kernel or the loader, let the hostname be overridden 2004-07-01 06:40:12 +00:00
cam Revert rev 1.140, it was a bit pre-mature. 2004-06-21 19:01:55 +00:00
coda Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
compat Implement SNDCTL_DSP_SETDUPLEX. This may fix sound apps which want to 2004-07-02 15:31:44 +00:00
conf Introduce GEOM_LABEL class. 2004-07-02 19:40:36 +00:00
contrib Local change: Allow access to the field if it is within the region 2004-07-02 08:38:55 +00:00
crypto Use __FBSDID(). 2004-06-14 00:38:54 +00:00
ddb Fixed DDB_NOKLDSYM on amd64's: 2004-05-18 05:30:06 +00:00
dev Get rid of the strict aliasing error by retrieving the ECDT via a table 2004-07-02 19:17:27 +00:00
fs Remove spls from portal_open(). Acquire socket lock while sleeping 2004-06-24 00:47:23 +00:00
geom Introduce GEOM_LABEL class. 2004-07-02 19:40:36 +00:00
gnu Fixed misformatting of code and breaking of a comment in previous commit. 2004-06-20 03:36:31 +00:00
i4b Be BURN_BRIDGES compliant 2004-06-21 21:59:00 +00:00
i386 Remove stray i386 math emulator references. 2004-07-01 22:18:06 +00:00
ia64 Unbreak build: define __RMAN_RESOURCE_VISIBLE 2004-06-30 23:55:14 +00:00
isa Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
isofs/cd9660 Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
kern - Change mi_switch() and sched_switch() to accept an optional thread to 2004-07-02 19:09:50 +00:00
libkern Import libkern arm specific bits. 2004-05-14 12:28:31 +00:00
modules Introduce GEOM_LABEL class. 2004-07-02 19:40:36 +00:00
net Bring in the first chunk of altq driver modifications. This covers the 2004-07-02 12:16:02 +00:00
net80211 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netatalk Socket MAC labels so_label and so_peerlabel are now protected by 2004-06-13 02:50:07 +00:00
netatm The socket field so_state is used to hold a variety of socket related 2004-06-14 18:16:22 +00:00
netgraph Remove the home-grown metadata facility in favour of the now generic 2004-06-30 22:51:29 +00:00
netinet On receiving 3 duplicate acknowledgements, SACK recovery was not being entered correctly. 2004-07-01 23:34:06 +00:00
netinet6 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netipsec Add required includes for post-sorwakeup() change to fix FAST_IPSEC 2004-06-23 01:58:22 +00:00
netipx Acquire the receive socket buffer lock when modifying out-of-band 2004-06-24 04:29:53 +00:00
netkey Merge next step in socket buffer locking: 2004-06-21 00:20:43 +00:00
netnatm Constify send and receive space constants in natm. 2004-06-24 03:11:29 +00:00
netncp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
netsmb Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
nfsclient When updating sb_flags, acquire the socket buffer lock to prevent 2004-06-24 03:12:13 +00:00
nfsserver Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
opencrypto Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pc98 MFi386: revision 1.1163 2004-07-01 09:34:15 +00:00
pccard Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pci Bring in the first chunk of altq driver modifications. This covers the 2004-07-02 12:16:02 +00:00
posix4
powerpc Modify loop test when cycling through phys_avail array. It's possible 2004-07-01 08:01:49 +00:00
rpc Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
security Introduce a temporary mutex, mac_ifnet_mtx, to lock MAC labels on 2004-06-24 03:34:46 +00:00
sparc64 These need __RMAN_RESOURCE_VISIBLE, too. 2004-06-30 23:21:07 +00:00
sys - Change mi_switch() and sched_switch() to accept an optional thread to 2004-07-02 19:09:50 +00:00
tools Complete quirk handling script by matching the in-kernel table format. 2004-06-30 04:40:20 +00:00
ufs Annotate that we don't check the returned data length from ufs_readdir() 2004-06-24 18:31:23 +00:00
vm - Change mi_switch() and sched_switch() to accept an optional thread to 2004-07-02 19:09:50 +00:00
Makefile Try harder not to compile anything in sys/boot for arm. 2004-05-16 00:19:12 +00:00