Commit Graph

41 Commits

Author SHA1 Message Date
seanc
fbdeee2097 Reduce fstab(5)/mount(8) confusion by changing the man pages to say "ro"
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.
2003-10-22 18:25:49 +00:00
jhb
f9e985b8ee Take sizeof() the right string for fspath's iovec. The old string was the
same size so this doesn't fix a bug, but it makes it cleaner.
2002-11-05 20:06:01 +00:00
trhodes
8dde7c54b8 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mux
7c7be9949e Update manpage to match the code, we don't use
vfsload() here anymore.
2002-08-11 15:18:41 +00:00
mux
2051522c35 Now that the kernel is able to load modules itself,
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.
2002-08-03 16:03:21 +00:00
charnier
548d38d27c The .Nm utility 2002-07-06 19:34:18 +00:00
trhodes
58b01fabd4 more file system > filesystem 2002-05-16 04:10:46 +00:00
mux
cee6fe80e4 Fix the fallback to mount(2) with RELENG_4 kernels and -CURRENT
utilities by catching SIGSYS.

Submitted by:	bde
2002-05-05 10:08:04 +00:00
mux
bf081a907c Swap the order of mount and nmount calls. We now call nmount
first, since all the consumers of mount_std in the tree have
been converted to nmount.
2002-05-02 20:52:04 +00:00
mux
9327f10f60 Add code to try the nmount(2) syscall when mount(2) failed with
EOPNOTSUPP.  This will make things less painful when I will commit
the conversion of devfs, fdescfs and pseudofs to nmount.

Reviewed by:	phk
2002-04-07 13:28:18 +00:00
imp
e083934243 o __P removed
o main prototype removed
2002-03-21 13:14:21 +00:00
obrien
a537f22ad4 Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
2001-12-04 02:19:58 +00:00
dd
c49a4e6620 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
dd
f5d286af56 Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
2001-06-24 23:04:23 +00:00
ru
6b1278c213 Rename (after a repo-copy) some mount(8) programs:
mount_fdesc -> mount_fdescfs
mount_null -> mount_nullfs
mount_portal -> mount_portalfs
mount_umap -> mount_umapfs
mount_union -> mount_unionfs
2001-05-23 14:58:19 +00:00
ru
e7c03cd6b0 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
e2a472a47a Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
des
b14c7cbbcf Retire kernfs (userland part). 2000-12-28 12:59:57 +00:00
ru
fe2efd38b3 mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
ru
d16dd614f6 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
des
06b10e9490 Mention linprocfs. 2000-03-25 13:46:16 +00:00
des
4d1a7bca19 Add mount_linprocfs. 2000-03-25 13:27:47 +00:00
phk
89fab41246 mount* fixes from Martin Blapp <mb@imp.ch>:
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
1999-10-09 11:54:14 +00:00
peter
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
charnier
6da4393021 Correct use of .Nm. Remove unused #includes. 1998-07-15 06:08:47 +00:00
bde
d194d95de3 Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.
1998-01-20 10:40:18 +00:00
imp
88b6081b7e compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 03:33:12 +00:00
peter
9fc7d0d145 Update to compile under Lite2 1997-03-11 12:38:16 +00:00
peter
4997d39dce Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
wosch
15e449c60d comma typos 1996-12-23 23:09:55 +00:00
mpp
00683d6c61 Now that all of the "standard" file system mount commands
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.
1996-12-14 22:58:37 +00:00
mpp
0a9bdee0a9 Refer the reader to devfs(5). 1996-12-14 22:49:44 +00:00
mpp
ef4620b3a9 Refer the reader to fdesc(5) for detailed info on the fdesc filesystem. 1996-12-14 22:18:08 +00:00
mpp
12ea6eb90e Remove the descriptions of the files in /kern and refer
the reader to kernfs(5) so that the information only
has to be maintained in one place.
1996-12-14 21:55:37 +00:00
mpp
aed290bda9 Remove the detailed description of the files in /proc
and instead refer the reader to procfs(5) so that
the information does not need to be maintained in
two places.
1996-12-14 20:14:15 +00:00
bde
071f2afd3e Don't use __dead or __pure in user code. They were obfuscations
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.
1996-09-14 03:00:32 +00:00
mpp
2370082340 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mpp
0da347e402 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
wollman
6993917031 Accept mount(8)'s calling convention of passing just the filesystem type
as argv[0].
1996-05-14 15:16:49 +00:00
wollman
8531aa13ac Get rid of the last vestiges of the old MOUNT_* constants in the
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.
1996-05-13 17:43:19 +00:00