History log of /freebsd-9.3-release/sbin/mount_std/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


208027 13-May-2010 uqs

mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the
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


203916 15-Feb-2010 uqs

Bump WARNS where possible.

Checked by: make universe
Approved by: ed (co-mentor)


162262 13-Sep-2006 charnier

Reduce the number of errors under WARNS=6


158721 18-May-2006 ceri

Slight grammar fix.


153008 02-Dec-2005 davidxu

Remove mqueuefs from LINKS, it is no longer needed for nmount interface.

Noticed by: rodrigc


152854 27-Nov-2005 davidxu

Change filesystem name from mqueue to mqueuefs for style consitent,
sort LINKS list.


152829 26-Nov-2005 davidxu

Support mounting POSIX message queue filesystem.


147242 10-Jun-2005 delphij

Use MOPT_END in favor of MOPT_NULL, which better describes the purporse
of the macro.


146853 01-Jun-2005 delphij

Add a handy macro to represent null mount option, MOPT_NULL, and make
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.


138187 29-Nov-2004 ru

Fix the mount(8) status reporting, now that MNT_NODEV is a no-op (zero).

Asked to commit by: phk


131488 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


128073 09-Apr-2004 markm

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


126178 23-Feb-2004 johan

style.Makefile(5):
Use WARNS?= instead of WARNS=.


121349 22-Oct-2003 seanc

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.


106477 05-Nov-2002 jhb

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.


102231 21-Aug-2002 trhodes

s/filesystem/file system/g as discussed on -developers


101684 11-Aug-2002 mux

Update manpage to match the code, we don't use
vfsload() here anymore.


101270 03-Aug-2002 mux

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.


99501 06-Jul-2002 charnier

The .Nm utility


96707 16-May-2002 trhodes

more file system > filesystem


96063 05-May-2002 mux

Fix the fallback to mount(2) with RELENG_4 kernels and -CURRENT
utilities by catching SIGSYS.

Submitted by: bde


95957 02-May-2002 mux

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.


94094 07-Apr-2002 mux

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


92882 21-Mar-2002 imp

o __P removed
o main prototype removed


87325 04-Dec-2001 obrien

Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike


79754 15-Jul-2001 dd

Remove whitespace at EOL.


78732 24-Jun-2001 dd

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


77042 23-May-2001 ru

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


74815 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


74531 20-Mar-2001 ru

Set the default manual section for sbin/ to 8.


70427 28-Dec-2000 des

Retire kernfs (userland part).


70015 14-Dec-2000 ru

mdoc(7) police: removed history info from the .Os FreeBSD call.


68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


58561 25-Mar-2000 des

Mention linprocfs.


58558 25-Mar-2000 des

Add mount_linprocfs.


52055 09-Oct-1999 phk

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


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


37658 15-Jul-1998 charnier

Correct use of .Nm. Remove unused #includes.


32645 20-Jan-1998 bde

Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.


24359 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


23679 11-Mar-1997 peter

Update to compile under Lite2


22990 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

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.


20888 23-Dec-1996 wosch

comma typos


20483 14-Dec-1996 mpp

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.


20481 14-Dec-1996 mpp

Refer the reader to devfs(5).


20470 14-Dec-1996 mpp

Refer the reader to fdesc(5) for detailed info on the fdesc filesystem.


20467 14-Dec-1996 mpp

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.


20461 14-Dec-1996 mpp

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.


18286 14-Sep-1996 bde

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.


17797 23-Aug-1996 mpp

Use the .Bx macro where appropriate.


17786 23-Aug-1996 mpp

Use the .Fx macro where appropriate.


15774 14-May-1996 wollman

Accept mount(8)'s calling convention of passing just the filesystem type
as argv[0].


15770 13-May-1996 wollman

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.