History log of /freebsd-10.0-release/sbin/mount_nullfs/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

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

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

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


247856 05-Mar-2013 jkim

GC unused variables. Prefer NULL over 0 for pointers.


245005 03-Jan-2013 kib

Allow to specify "cache" and "nocache" as an option for
mount_nullfs(8).

Tested by: pho
MFC after: 2 weeks


230226 16-Jan-2012 jh

Change checkpath() to not exit on error. This is a prerequisite for
fixing the mount(8) "failok" option.

PR: 163668
Reviewed by: Garrett Cooper, delphij (previous version)


227081 04-Nov-2011 ed

Add missing static keywords for global variables to tools in sbin/.

These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.


201227 29-Dec-2009 ed

ANSIfy almost all applications that use WARNS=6.

I was considering committing all these patches one by one, but as
discussed with brooks@, there is no need to do this. If we ever
need/want to merge these changes back, it is still possible to do this
per application.


198236 19-Oct-2009 ru

Switch the default WARNS level for sbin/ to 6.

Submitted by: Ulrich Spörlein


157877 19-Apr-2006 brueffer

Add a missing .Pp call.

MFC after: 3 days


154418 16-Jan-2006 kris

Remove scary warning, since nullfs works fine thesedays.

MFC after: 1 week


152670 21-Nov-2005 rodrigc

Bring mount_nullfs up to WARNS=6.


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.


141611 10-Feb-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


140415 18-Jan-2005 ru

Sort sections.


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=.


124236 07-Jan-2004 ceri

Correct an instance of an erroneous "it's".

PR: docs/59937
Submitted by: Ada Lim <ada@bsd.org>
MFC After: 1 day


110396 05-Feb-2003 charnier

The .Xr utility


107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


102231 21-Aug-2002 trhodes

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


101829 13-Aug-2002 mux

Don't depend on namespace pollution in sys/mount.h and
include sys/uio.h.


101275 03-Aug-2002 mux

Small diffs that p4 didn't catch when I extracted
the diffs from my branch.


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


97187 23-May-2002 mux

Make mount_nullfs(8) use nmount(2) rather than mount(2) now
that nullfs has been converted to nmount.


96707 16-May-2002 trhodes

more file system > filesystem


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


81588 13-Aug-2001 ru

Spell "FreeBSD" with "F" and "BSD" in uppercase.


79754 15-Jul-2001 dd

Remove whitespace at EOL.


79049 01-Jul-2001 dd

Correct grammar.


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


77031 23-May-2001 ru

- FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file
systems were repo-copied from sys/miscfs to sys/fs.

- Renamed the following file systems and their modules:
fdesc -> fdescfs, portal -> portalfs, union -> unionfs.

- Renamed corresponding kernel options:
FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS.

- Install header files for the above file systems.

- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
Makefiles.


75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


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.


70401 27-Dec-2000 ru

Prepare for mdoc(7)NG.


70152 18-Dec-2000 ru

Prepare for mdoc(7)NG.


68960 20-Nov-2000 ru

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


68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


63962 28-Jul-2000 sheldonh

Rename the loadable nullfs kernel module: null -> nullfs


60602 15-May-2000 hoek

Fix a bunch of typos.

Some Submitted by: docs/18543 (Anatoly Vorobey)


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$


42003 22-Dec-1998 jkh

User reports that using mount_null destroyed his filesystem, I reply
that nullfs really doesn't work, he askes why this isn't noted for the
"dangerous" filesystems, I go "hmmm."


37428 06-Jul-1998 charnier

-Wall.


32645 20-Jan-1998 bde

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


26072 23-May-1997 dfr

Use realpath on the source as well as the destination.


24359 29-Mar-1997 imp

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


23680 11-Mar-1997 peter

Merge from Lite2 (use new getvfsbyname() and mount(2) interface)


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.


18718 05-Oct-1996 wosch

delete doubled words, e.g.: "the the" -> "the"


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.


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.


13720 29-Jan-1996 mpp

Fix a bunch of spelling errors.


4704 20-Nov-1994 phk

This time: an absolute -I :-<


4065 01-Nov-1994 wollman

Add support for filesystem-specific `-o' options, and re-implement the
most common cd9660 and nfs options like God intended them. (It is now
possible to say

mount -o ro,soft,bg,intr there:/foo/bar /foo/bar

again.) This whole getmntopt() business is an incredible botch;
it never should have been anything more than a wrapper around
getsubopt(3). Because if the way the current hackaround is implemented,
options which take arguments (like the old `rsize' and `wsize') are still
unavailable, and must be accessed the new, broken way.

(It's unimaginable how Berkeley managed to screw up one of the few things
about NFS that Sun actually got right to begin with!)


4006 30-Oct-1994 joerg

Fixed a type.


2999 22-Sep-1994 wollman

Automatically load NFS and a bevy of other filesystems.


1855 05-Aug-1994 wollman

Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.


1558 26-May-1994 rgrimes

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.