summaryrefslogtreecommitdiffstats
path: root/sbin/mount_std
Commit message (Collapse)AuthorAgeFilesLines
* Change checkpath() to not exit on error. This is a prerequisite forjh2012-01-161-1/+2
| | | | | | | fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version)
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theuqs2010-05-131-2/+2
| | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru
* Bump WARNS where possible.uqs2010-02-151-1/+1
| | | | | Checked by: make universe Approved by: ed (co-mentor)
* Reduce the number of errors under WARNS=6charnier2006-09-131-9/+5
|
* Slight grammar fix.ceri2006-05-181-1/+1
|
* Remove mqueuefs from LINKS, it is no longer needed for nmount interface.davidxu2005-12-021-1/+0
| | | | Noticed by: rodrigc
* Change filesystem name from mqueue to mqueuefs for style consitent,davidxu2005-11-271-2/+2
| | | | sort LINKS list.
* Support mounting POSIX message queue filesystem.davidxu2005-11-261-1/+2
|
* 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.
* Fix the mount(8) status reporting, now that MNT_NODEV is a no-op (zero).ru2004-11-291-2/+1
| | | | Asked to commit by: phk
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+4
|
* 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=.
* Reduce fstab(5)/mount(8) confusion by changing the man pages to say "ro"seanc2003-10-221-2/+1
| | | | | instead of "rdonly". "rdonly" works for mount(8) and mount_std(8) but not from /etc/fstab, whereas "ro" works for all mount_*(8) commands.
* Take sizeof() the right string for fspath's iovec. The old string was thejhb2002-11-051-1/+1
| | | | same size so this doesn't fix a bug, but it makes it cleaner.
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-212-21/+21
|
* Update manpage to match the code, we don't usemux2002-08-111-5/+0
| | | | vfsload() here anymore.
* Now that the kernel is able to load modules itself,mux2002-08-031-15/+4
| | | | | | | | | | 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-10/+12
|
* more file system > filesystemtrhodes2002-05-161-1/+1
|
* Fix the fallback to mount(2) with RELENG_4 kernels and -CURRENTmux2002-05-051-2/+23
| | | | | | utilities by catching SIGSYS. Submitted by: bde
* Swap the order of mount and nmount calls. We now call nmountmux2002-05-021-14/+14
| | | | | first, since all the consumers of mount_std in the tree have been converted to nmount.
* Add code to try the nmount(2) syscall when mount(2) failed withmux2002-04-071-1/+22
| | | | | | | EOPNOTSUPP. This will make things less painful when I will commit the conversion of devfs, fdescfs and pseudofs to nmount. Reviewed by: phk
* o __P removedimp2002-03-211-1/+1
| | | | 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
* Remove whitespace at EOL.dd2001-07-151-6/+6
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* Rename (after a repo-copy) some mount(8) programs:ru2001-05-232-10/+12
| | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
* - 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/+0
|
* Retire kernfs (userland part).des2000-12-282-9/+4
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Mention linprocfs.des2000-03-251-3/+11
|
* Add mount_linprocfs.des2000-03-251-1/+4
|
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-091-1/+5
| | | | | | | | | | | | | | | | | 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
|
* Correct use of .Nm. Remove unused #includes.charnier1998-07-152-8/+6
|
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-1/+0
| | | | the default.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Update to compile under Lite2peter1997-03-112-9/+10
|
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* comma typoswosch1996-12-231-6/+6
|
* Now that all of the "standard" file system mount commandsmpp1996-12-146-399/+44
| | | | | | | | | | refer the reader to the detailed information in section 5, remove the mount_* man pages for those file system. mount_std(8) to cover all of the file systems it is currently being used to mount. mount_{devfs, fdesc, kernfs, procfs}.8 are now MLINKS to mount_std.
* Refer the reader to devfs(5).mpp1996-12-141-8/+0
|
* Refer the reader to fdesc(5) for detailed info on the fdesc filesystem.mpp1996-12-141-85/+11
|
* Remove the descriptions of the files in /kern and refermpp1996-12-141-40/+8
| | | | | the reader to kernfs(5) so that the information only has to be maintained in one place.
* Remove the detailed description of the files in /procmpp1996-12-141-156/+11
| | | | | | and instead refer the reader to procfs(5) so that the information does not need to be maintained in two places.
OpenPOWER on IntegriCloud