aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/geom/geom_label
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* glabel: Add support for Linux swapRicardo Branco2024-04-291-0/+1
| | | | | Reviewed by: imp, kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1205
* glabel: Remove support for old reiserfsRicardo Branco2024-04-191-1/+0
| | | | | Reviewed by: imp, emaste Pull Request: https://github.com/freebsd/freebsd-src/pull/1101
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Add g_label_flashmap.c to the module, should have been part of r345480.Ian Lepore2019-04-071-0/+1
| | | | | | | Reported by: Jia-Shiun Li <jiashiun@gmail.com> Notes: svn path=/head/; revision=346013
* Fix LINT build.Li-Wen Hsu2018-01-261-0/+1
| | | | | | | Approved by: delphij Notes: svn path=/head/; revision=328432
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-041-1/+1
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* An all-or-nothing approach to labels isn't flexible enough. EmbeddedMarcel Moolenaar2014-04-061-0/+4
| | | | | | | | | | | systems need fine-grained control over what's in and what's out. That's ideal. For now, separate GPT labels from the rest and allow g_label to be built with just GPT labels. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=264185
* Link g_label_disk_ident when building geom_label as a moduleIvan Voras2013-04-171-0/+1
| | | | Notes: svn path=/head/; revision=249581
* It seems that it is preferable to keep support for glabel also forAttilio Rao2012-10-181-0/+1
| | | | | | | | | | | | filesystems that we don't support natively. Revert part of r241636 to do so. This patch is not targeted for MFC. Requested by: gleb, jhb Notes: svn path=/head/; revision=241706
* Disconnect non-MPSAFE NTFS from the build in preparation for droppingAttilio Rao2012-10-171-1/+0
| | | | | | | | | | | | | | | | | GIANT from VFS. This code is particulary broken and fragile and other in-kernel implementations around, found in other operating systems, don't really seem clean and solid enough to be imported at all. If someone wants to reconsider in-kernel NTFS implementation for inclusion again, a fair effort for completely fixing and cleaning it up is expected. In the while NTFS regular users can use FUSE interface and ntfs-3g port to work with their NTFS partitions. This is not targeted for MFC. Notes: svn path=/head/; revision=241636
* Add missing reference to GPT support.Ivan Voras2009-07-051-0/+1
| | | | | | | | Submitted by: Paul B. Mahol onemda at gmail.com Approved by: re (kib) Notes: svn path=/head/; revision=195362
* Add NTFS labeling function.Takanori Watanabe2005-08-261-0/+1
| | | | | | | Reviewed by:pjd Notes: svn path=/head/; revision=149492
* Add code for Ext2FS and ReiserFS labels recognition.Pawel Jakub Dawidek2005-08-121-0/+2
| | | | | | | | | Submitted by: Stanislav Sedov <stas@310.ru> PR: kern/84638 MFC after: 1 week Notes: svn path=/head/; revision=148978
* Introduce GEOM_LABEL class.Pawel Jakub Dawidek2004-07-021-0/+11
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! Notes: svn path=/head/; revision=131476