aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_nullfs
Commit message (Collapse)AuthorAgeFilesLines
* man filesystems: fix xrefs after move to section 4Alexander Ziaee2024-05-161-2/+2
| | | | | Reviewed by: des, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
* mount_nullfs(8): fix typoKonstantin Belousov2024-03-091-1/+1
| | | | Reported by: mckusick
* mount_nullfs(8): document -o cache and vfs.nullfs.cache_vnodesKonstantin Belousov2024-03-081-2/+8
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Remove copyright strings ifdef'd outWarner Losh2023-11-271-9/+0
| | | | | | | | | | | We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
* sbin: Remove ancient SCCS tags.Warner Losh2023-11-273-6/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-09-251-2/+0
| | | | | | | These do not use __FBSDID but instead use bare char arrays. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* mount_nullfs(8): refer to nullfs(5)Tom Hukins2023-06-121-2/+4
| | | | | Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/772
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* mount_nullfs.8: Bump .Dd for file mounts update.Ceri Davies2022-12-191-1/+1
|
* Add support for mounting single files in nullfsDoug Rabson2022-12-192-2/+32
| | | | | | | | | | | My main use-case for this is to support mounting config files and secrets into OCI containers. My current workaround copies the files into the container which is messy and risks secrets leaking into container images if the cleanup fails. Reviewed by: mjg, kib Tested by: pho Differential Revision: https://reviews.freebsd.org/D37478
* Improve description of the nocache option.Alexander Leidinger2022-05-061-2/+4
| | | | Discussed with: pstef
* Add nullfs specific nocache option.Alexander Leidinger2022-04-221-1/+7
|
* mount_nullfs: rename a local variableAlan Somers2021-02-121-7/+7
| | | | | | | | | | | | | The "source" variable was introduced in r26072, probably as the traditional counterpart to "target". But the "source"/"target" names suggest the opposite of their actual meaning. With ln, for example, the source is the real file and the target is the newly created link. In mount_nullfs the meaning is the opposite: the target is the existing file system and the source is the newly created mountpoint. Better to use "target"/"mountpoint" terminology, which matches the man page. MFC after: 6 weeks Sponsored by: Axcient
* Remove the check that prevents creating "loops" from mount_nullfs(8).Edward Tomasz Napierala2020-10-251-20/+0
| | | | | | | | | | Reviewed by: kib MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26921 Notes: svn path=/head/; revision=367038
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. 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. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* sbin: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-1/+1
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314656
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Note the name change from mount_null to mount_nullfs in FreeBSD 5.0.Sevan Janiyan2016-10-031-2/+6
| | | | | | | | | | PR: 212541 Approved by: bcr (mentor) MFC after: 4 days Differential Revision: https://reviews.freebsd.org/D8105 Notes: svn path=/head/; revision=306612
* Explicitly add more files to the 'runtime' package.Glen Barber2016-02-091-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295450
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * sync from headSimon J. Gerraty2013-04-121-3/+2
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=249429
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync with HEAD.David E. O'Brien2013-02-081-23/+26
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | GC unused variables. Prefer NULL over 0 for pointers.Jung-uk Kim2013-03-051-3/+2
| |/ |/| | | | | Notes: svn path=/head/; revision=247856
* | Allow to specify "cache" and "nocache" as an option forKonstantin Belousov2013-01-031-23/+26
|/ | | | | | | | | | mount_nullfs(8). Tested by: pho MFC after: 2 weeks Notes: svn path=/head/; revision=245005
* Change checkpath() to not exit on error. This is a prerequisite forJaakko Heinonen2012-01-161-2/+4
| | | | | | | | | | fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version) Notes: svn path=/head/; revision=230226
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-1/+1
| | | | | | | | | These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file. Notes: svn path=/head/; revision=227081
* ANSIfy almost all applications that use WARNS=6.Ed Schouten2009-12-291-4/+2
| | | | | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application. Notes: svn path=/head/; revision=201227
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-1/+0
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Add a missing .Pp call.Christian Brueffer2006-04-191-0/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=157877
* Remove scary warning, since nullfs works fine thesedays.Kris Kennaway2006-01-161-13/+0
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=154418
* Bring mount_nullfs up to WARNS=6.Craig Rodrigues2005-11-212-8/+6
| | | | Notes: svn path=/head/; revision=152670
* Use MOPT_END in favor of MOPT_NULL, which better describes the purporseXin LI2005-06-101-1/+1
| | | | | | | of the macro. Notes: svn path=/head/; revision=147242
* Add a handy macro to represent null mount option, MOPT_NULL, and makeXin LI2005-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | use of the macro in sbin/mount*'s, by replacing: mopts[] = { MOPT_STDOPTS, { NULL } } With: mopts[] = { MOPT_STDOPTS, MOPT_NULL } This change will help to reduce the situation that we don't explicitly initialize "struct mntopt"'s. It should not contribute to any functional/logical changes as far as I can tell. Notes: svn path=/head/; revision=146853
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-101-1/+1
| | | | Notes: svn path=/head/; revision=141611
* Sort sections.Ruslan Ermilov2005-01-181-5/+5
| | | | Notes: svn path=/head/; revision=140415
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-13/+27
| | | | Notes: svn path=/head/; revision=131488
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-092-8/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core, imp Notes: svn path=/head/; revision=128073
* style.Makefile(5):Johan Karlsson2004-02-231-1/+1
| | | | | | | Use WARNS?= instead of WARNS=. Notes: svn path=/head/; revision=126178
* Correct an instance of an erroneous "it's".Ceri Davies2004-01-071-1/+1
| | | | | | | | | PR: docs/59937 Submitted by: Ada Lim <ada@bsd.org> MFC After: 1 day Notes: svn path=/head/; revision=124236
* The .Xr utilityPhilippe Charnier2003-02-051-2/+3
| | | | Notes: svn path=/head/; revision=110396
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788