aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_nullfs
Commit message (Collapse)AuthorAgeFilesLines
* 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
* s/filesystem/file system/g as discussed on -developersTom Rhodes2002-08-211-11/+11
| | | | Notes: svn path=/head/; revision=102231
* Don't depend on namespace pollution in sys/mount.h andMaxime Henrion2002-08-131-0/+1
| | | | | | | include sys/uio.h. Notes: svn path=/head/; revision=101829
* Small diffs that p4 didn't catch when I extractedMaxime Henrion2002-08-031-2/+1
| | | | | | | the diffs from my branch. Notes: svn path=/head/; revision=101275
* Now that the kernel is able to load modules itself,Maxime Henrion2002-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. Notes: svn path=/head/; revision=101270
* The .Nm utilityPhilippe Charnier2002-07-061-3/+4
| | | | Notes: svn path=/head/; revision=99501
* Make mount_nullfs(8) use nmount(2) rather than mount(2) nowMaxime Henrion2002-05-231-5/+15
| | | | | | | that nullfs has been converted to nmount. Notes: svn path=/head/; revision=97187
* more file system > filesystemTom Rhodes2002-05-161-8/+8
| | | | Notes: svn path=/head/; revision=96707
* o __P removedWarner Losh2002-03-211-2/+2
| | | | | | | o main prototype removed Notes: svn path=/head/; revision=92882
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+2
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* Spell "FreeBSD" with "F" and "BSD" in uppercase.Ruslan Ermilov2001-08-131-1/+3
| | | | Notes: svn path=/head/; revision=81588
* Remove whitespace at EOL.Dima Dorfman2001-07-151-16/+16
| | | | Notes: svn path=/head/; revision=79754
* Correct grammar.Dima Dorfman2001-07-011-2/+2
| | | | Notes: svn path=/head/; revision=79049
* Rename (after a repo-copy) some mount(8) programs:Ruslan Ermilov2001-05-233-10/+10
| | | | | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs Notes: svn path=/head/; revision=77042
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileRuslan Ermilov2001-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. Notes: svn path=/head/; revision=77031
* mdoc(7) police: normalize .Nd.Ruslan Ermilov2001-04-181-2/+1
| | | | Notes: svn path=/head/; revision=75670
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-1/+1
| | | | Notes: svn path=/head/; revision=74531
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-271-3/+1
| | | | Notes: svn path=/head/; revision=70401
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-181-3/+1
| | | | Notes: svn path=/head/; revision=70152
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68960
* Avoid use of direct troff requests in mdoc(7) manual pages.Ruslan Ermilov2000-11-101-1/+1
| | | | Notes: svn path=/head/; revision=68575
* Rename the loadable nullfs kernel module: null -> nullfsSheldon Hearn2000-07-281-5/+5
| | | | Notes: svn path=/head/; revision=63962
* Fix a bunch of typos.Tim Vanderhoek2000-05-151-7/+10
| | | | | | | Some Submitted by: docs/18543 (Anatoly Vorobey) Notes: svn path=/head/; revision=60602
* mount* fixes from Martin Blapp <mb@imp.ch>:Poul-Henning Kamp1999-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 Notes: svn path=/head/; revision=52055
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50476
* User reports that using mount_null destroyed his filesystem, I replyJordan K. Hubbard1998-12-221-1/+11
| | | | | | | | that nullfs really doesn't work, he askes why this isn't noted for the "dangerous" filesystems, I go "hmmm." Notes: svn path=/head/; revision=42003
* -Wall.Philippe Charnier1998-07-062-9/+11
| | | | Notes: svn path=/head/; revision=37428
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowBruce Evans1998-01-201-1/+0
| | | | | | | the default. Notes: svn path=/head/; revision=32645
* Use realpath on the source as well as the destination.Doug Rabson1997-05-231-3/+7
| | | | Notes: svn path=/head/; revision=26072
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24359
* Merge from Lite2 (use new getvfsbyname() and mount(2) interface)Peter Wemm1997-03-113-20/+34
| | | | Notes: svn path=/head/; revision=23680
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
| | | | Notes: svn path=/head/; revision=22990
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* delete doubled words, e.g.: "the the" -> "the"Wolfram Schneider1996-10-051-2/+2
| | | | Notes: svn path=/head/; revision=18718
* Don't use __dead or __pure in user code. They were obfuscationsBruce Evans1996-09-141-2/+2
| | | | | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong. Notes: svn path=/head/; revision=18286