summaryrefslogtreecommitdiffstats
path: root/sbin/mount_nullfs
Commit message (Collapse)AuthorAgeFilesLines
* GC unused variables. Prefer NULL over 0 for pointers.jkim2013-03-051-3/+2
|
* Allow to specify "cache" and "nocache" as an option forkib2013-01-031-23/+26
| | | | | | | mount_nullfs(8). Tested by: pho MFC after: 2 weeks
* Change checkpath() to not exit on error. This is a prerequisite forjh2012-01-161-2/+4
| | | | | | | fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version)
* Add missing static keywords for global variables to tools in sbin/.ed2011-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.
* ANSIfy almost all applications that use WARNS=6.ed2009-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.
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-1/+0
| | | | Submitted by: Ulrich Spörlein
* Add a missing .Pp call.brueffer2006-04-191-0/+1
| | | | MFC after: 3 days
* Remove scary warning, since nullfs works fine thesedays.kris2006-01-161-13/+0
| | | | MFC after: 1 week
* Bring mount_nullfs up to WARNS=6.rodrigc2005-11-212-8/+6
|
* Use MOPT_END in favor of MOPT_NULL, which better describes the purporsedelphij2005-06-101-1/+1
| | | | of the macro.
* Add a handy macro to represent null mount option, MOPT_NULL, and makedelphij2005-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.
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-101-1/+1
|
* Sort sections.ru2005-01-181-5/+5
|
* Mechanically kill hard sentence breaks.ru2004-07-021-13/+27
|
* Remove advertising clause from University of California Regent's license,markm2004-04-092-8/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Correct an instance of an erroneous "it's".ceri2004-01-071-1/+1
| | | | | | PR: docs/59937 Submitted by: Ada Lim <ada@bsd.org> MFC After: 1 day
* The .Xr utilitycharnier2003-02-051-2/+3
|
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-11/+11
|
* Don't depend on namespace pollution in sys/mount.h andmux2002-08-131-0/+1
| | | | include sys/uio.h.
* Small diffs that p4 didn't catch when I extractedmux2002-08-031-2/+1
| | | | the diffs from my branch.
* Now that the kernel is able to load modules itself,mux2002-08-031-13/+2
| | | | | | | | | | remove all the code which was trying to do so. This code was nasty in several ways, it was hiding the kernel bug where the kernel was unable to properly load a module, and it was quitting if it wasn't able to load the module. The consequence is that an ABI breakage of the vfsconf API would have broken *every* mount utility.
* The .Nm utilitycharnier2002-07-061-3/+4
|
* Make mount_nullfs(8) use nmount(2) rather than mount(2) nowmux2002-05-231-5/+15
| | | | that nullfs has been converted to nmount.
* more file system > filesystemtrhodes2002-05-161-8/+8
|
* o __P removedimp2002-03-211-2/+2
| | | | o main prototype removed
* Default to WARNS=2.obrien2001-12-041-0/+2
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-131-1/+3
|
* Remove whitespace at EOL.dd2001-07-151-16/+16
|
* Correct grammar.dd2001-07-011-2/+2
|
* Rename (after a repo-copy) some mount(8) programs:ru2001-05-233-10/+10
| | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-232-2/+2
| | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles.
* mdoc(7) police: normalize .Nd.ru2001-04-181-2/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-271-3/+1
|
* Prepare for mdoc(7)NG.ru2000-12-181-3/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+1
|
* Rename the loadable nullfs kernel module: null -> nullfssheldonh2000-07-281-5/+5
|
* Fix a bunch of typos.hoek2000-05-151-7/+10
| | | | Some Submitted by: docs/18543 (Anatoly Vorobey)
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-091-5/+3
| | | | | | | | | | | | | | | | | Made mount more userfriendly (bad slashes are now filtered out) and we remove in mount_nfs trailing slashes if there are any. Fixed mount_xxx binarys to resolve with realpath(3) the mountpoint. Translate the deprecated nfs-syntax with '@' to ':' . The ':' syntax has now precedence, but '@' still works. Notify the user that the '@' syntax should not be used. PR: 7846 PR: 13692 Submitted by: Martin Blapp <mb@imp.ch> Reviewed by: phk
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* User reports that using mount_null destroyed his filesystem, I replyjkh1998-12-221-1/+11
| | | | | that nullfs really doesn't work, he askes why this isn't noted for the "dangerous" filesystems, I go "hmmm."
* -Wall.charnier1998-07-062-9/+11
|
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-1/+0
| | | | the default.
* Use realpath on the source as well as the destination.dfr1997-05-231-3/+7
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Merge from Lite2 (use new getvfsbyname() and mount(2) interface)peter1997-03-113-20/+34
|
OpenPOWER on IntegriCloud