Commit Graph

36 Commits

Author SHA1 Message Date
charnier
a2accd01f0 The .Nm utility 2002-07-06 19:34:18 +00:00
trhodes
896f3841bf more file system > filesystem 2002-05-16 04:10:46 +00:00
mux
b018bad669 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
0cca436089 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
b99433fd24 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
baca1664d9 o __P removed
o main prototype removed
2002-03-21 13:14:21 +00:00
obrien
9baf2f1b03 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
a145482cf6 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
dd
ef9ae51ffe 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
d6e286694d 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
86642a4ab4 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
56b5d7535b Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
des
4b9504e071 Retire kernfs (userland part). 2000-12-28 12:59:57 +00:00
ru
c23c39b3a4 mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
ru
ea31070695 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
des
91330f1a8a Mention linprocfs. 2000-03-25 13:46:16 +00:00
des
c44639bff6 Add mount_linprocfs. 2000-03-25 13:27:47 +00:00
phk
41c4f3920e 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
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
charnier
ab2debff1b Correct use of .Nm. Remove unused #includes. 1998-07-15 06:08:47 +00:00
bde
d53ef8ee6e Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.
1998-01-20 10:40:18 +00:00
imp
167db52912 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
f461294e07 Update to compile under Lite2 1997-03-11 12:38:16 +00:00
peter
4968036f61 Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
jkh
808a36ef65 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
0426c0af88 comma typos 1996-12-23 23:09:55 +00:00
mpp
d6f5b2f856 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
2d8d988894 Refer the reader to devfs(5). 1996-12-14 22:49:44 +00:00
mpp
5fb251bcf3 Refer the reader to fdesc(5) for detailed info on the fdesc filesystem. 1996-12-14 22:18:08 +00:00
mpp
f2e85d05ba 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
b15c39d6d2 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
6ed5ccfb8f 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
bef6fb830a Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mpp
b4aab8b6f6 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
wollman
421bfb351a Accept mount(8)'s calling convention of passing just the filesystem type
as argv[0].
1996-05-14 15:16:49 +00:00
wollman
5eea098aaa 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