summaryrefslogtreecommitdiffstats
path: root/sbin/mount_std/mount_std.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-211-3/+3
|
* 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.
* 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
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* 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-281-1/+1
|
* Correct use of .Nm. Remove unused #includes.charnier1998-07-151-3/+2
|
* 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-111-9/+9
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-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.
* Accept mount(8)'s calling convention of passing just the filesystem typewollman1996-05-141-5/+15
| | | | as argv[0].
* Get rid of the last vestiges of the old MOUNT_* constants in thewollman1996-05-131-0/+122
mount_* programs. While we're at it, collapse the four now-identical mount programs for devfs, fdesc, kernfs, and procfs into links to a new mount_std(8) which can mount any really generic filesystem such as these when called with the appropriate argv[0]. Also, convert the mount programs to use sysexits.h.
OpenPOWER on IntegriCloud