aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/geom_vol_ffs.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated GEOM classesConrad Meyer2019-08-131-167/+0
| | | | | | | | | | | | | | Follow-up on r322318 and r322319 and remove the deprecated modules. Shift some now-unused kernel files into userspace utilities that incorporate them. Remove references to removed GEOM classes in userspace utilities. Reviewed by: imp (earlier version) Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D21249 Notes: svn path=/head/; revision=351001
* Annotate geom modules with MODULE_VERSIONKyle Evans2018-04-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | GEOM ELI may double ask the password during boot. Once at loader time, and once at init time. This happens due a module loading bug. By default GEOM ELI caches the password in the kernel, but without the MODULE_VERSION annotation, the kernel loads over the kernel module, even if the GEOM ELI was compiled into the kernel. In this case, the newly loaded module purges/invalidates/overwrites the GEOM ELI's password cache, which causes the double asking. MFC Note: There's a pc98 component to the original submission that is omitted here due to pc98 removal in head. This part will need to be revived upon MFC. Reviewed by: imp Submitted by: op Obtained from: opBSD MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D14992 Notes: svn path=/head/; revision=332387
* sys/geom: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326270
* Mark geom classes as deprecated.Warner Losh2017-08-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | geom_bsd, geom_mbr and geom_sunlabel have been obsolete since Marcel Moolenaar's geom_part was in FreeBSD 7. They haven't been in GENERIC since FreeBSD 8. Add warning when used. geom_vol_ffs has been obsolete since ufs support to geom_label was committed in FreeBSD 5. It hasn't been in GENERIC since FreeBSD 5. Add warning when used. geom_fox has been obsolete since gmultipath was committed in FreeBSD 7. (no warning added, since this is a very obscure class). These will all be removed in FreeBSD 12. MFC After: 3 days Differential Revision: https://reviews.freebsd.org/D11935 Note: Classes will be removed after MFC Notes: svn path=/head/; revision=322318
* Add some FEATURE macros for various GEOM classes.Alexander Leidinger2011-02-251-0/+3
| | | | | | | | | | | | | | No FreeBSD version bump, the userland application to query the features will be committed last and can serve as an indication of the availablility if needed. Sponsored by: Google Summer of Code 2010 Submitted by: kibab Reviewed by: silence on geom@ during 2 weeks X-MFC after: to be determined in last commit with code from this project Notes: svn path=/head/; revision=219029
* Don't pass error value pointer to g_read_data(9) at all if we don'tMaxim Sobolev2005-11-301-2/+2
| | | | | | | | | have any use of it. Suggested by: pjd Notes: svn path=/head/; revision=152971
* Check for g_read_data(9) errors properly:Maxim Sobolev2005-11-301-1/+1
| | | | | | | | | | | | | o The only indication of error condition is NULL value returned by the function; o value pointed to by error argument is undefined in the case when operation completes successfully. Discussed with: phk Notes: svn path=/head/; revision=152967
* Take care not to issue unaligned I/O requests while tasting a provider.Dag-Erling Smørgrav2005-02-081-0/+10
| | | | Notes: svn path=/head/; revision=141498
* Too many versions.Poul-Henning Kamp2004-08-091-1/+0
| | | | | | | Spotted by: pjd Notes: svn path=/head/; revision=133356
* Tag all geom classes in the tree with a version number.Poul-Henning Kamp2004-08-081-0/+2
| | | | Notes: svn path=/head/; revision=133318
* Remove the absolute count g_access_abs() function since experience hasPoul-Henning Kamp2004-02-121-1/+1
| | | | | | | | | | | | | | | shown that it is not useful. Rename the relative count g_access_rel() function to g_access(), only the name has changed. Change all g_access_rel() calls in our CVS tree to call g_access() instead. Add an #ifndef BURN_BRIDGES #define of g_access_rel() for source code compatibility. Notes: svn path=/head/; revision=125755
* Use __FBSDID().David E. O'Brien2003-06-111-2/+3
| | | | | | | Approved by: phk Notes: svn path=/head/; revision=116196
* Remove the G_CLASS_INITIALIZER, we do not need it anymore.Poul-Henning Kamp2003-05-311-1/+0
| | | | Notes: svn path=/head/; revision=115468
* Use g_slice_spoiled() instead of g_std_spoiled().Poul-Henning Kamp2003-05-021-1/+1
| | | | Notes: svn path=/head/; revision=114518
* Back out all the stuff that didn't belong in the last commit.Poul-Henning Kamp2003-05-021-6/+2
| | | | Notes: svn path=/head/; revision=114511
* Use g_slice_spoiled() rather than g_std_spoiled().Poul-Henning Kamp2003-05-021-2/+6
| | | | | | | Remember to free the buffer we got from g_read_data(). Notes: svn path=/head/; revision=114508
* Time has run from the "run GEOM in userland" harness, and the new regressionPoul-Henning Kamp2003-04-131-9/+0
| | | | | | | | | | test is built to test GEOM as running in the kernel. This commit is basically "unifdef -D_KERNEL" to remove the mainly #include related code to support the userland-harness. Notes: svn path=/head/; revision=113432
* Premptively change initializations of struct g_class to use C99Poul-Henning Kamp2003-03-241-3/+2
| | | | | | | | sparse struct initializations before we extend the struct with new OAM related member functions. Notes: svn path=/head/; revision=112552
* Add some comments about the deficiencies of this module. I had hoped to getGordon Tetlow2003-02-071-0/+7
| | | | | | | | around to addressing them some more, but Real Life (tm) has gotten in the way. Notes: svn path=/head/; revision=110513
* Correct a comment. GEOM modules do not create /dev entries. They createGordon Tetlow2003-02-031-2/+2
| | | | | | | | | providers. Pointed out by: phk Notes: svn path=/head/; revision=110291
* Add the GEOM module that makes volume labels useful. A kernel compiled withGordon Tetlow2003-02-031-0/+146
this will cause volume labels to be exposed in /dev/vol/<volname>. Currently, there is no conflict resolution if more than one FS has the same volume name. Reviewed by: phk Notes: svn path=/head/; revision=110290