Home | History | Annotate | only in /src/sbin/mount_union
History log of /src/sbin/mount_union
RevisionDateAuthorComments
 1.15 26-Jul-2020  mlelstv Refactor remaining mount_* commands to use the common pathadj()
function for resolving paths.

Make pathadj() no longer warn about symlinks. Symlinks in /dev are
regularly used in several places like LVM . The warning was also
only visible when calling a mount_* command directly as mount(8)
itself would resolve the path witout warning before passing it to
a mount_* command.
 1.14 27-Jun-2005  christos Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
 1.13 05-Feb-2005  xtraeme Kill __P(), use ANSI function declarations; WARNS=3.
 1.12 22-Mar-2003  jdolecek move getmntopts(3) to libutil, build and install also it's manpage
bump libutil minor
adjust individual mount_*/Makefile to use libutil getmntopts(3)
 1.11 21-Sep-2002  christos MNT_GETARGS support
 1.10 19-Aug-2002  lukem Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
 1.9 10-Oct-1997  christos CFLAGS->CPPFLAGS
 1.8 16-Sep-1997  lukem resolve conflicts from lite-2 merge
 1.7 08-May-1997  gwr Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
 1.6 06-May-1997  gwr Use .PATH.c: ...
 1.5 18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.4 09-Jan-1995  mycroft This shouldn't be setuid any more.
 1.3 22-Dec-1994  cgd specify man pages the new way.
 1.2 03-Aug-1994  deraadt do not need -I/sys
 1.1 08-Jun-1994  mycroft branches: 1.1.1;
Update from 4.4-Lite, with local changes.
 1.1.1.2 16-Sep-1997  lukem imported from lite-2
 1.1.1.1 13-Jun-1994  mycroft Import 4.4-Lite version.
 1.20 07-Jun-2017  abhinav s/filesystem/file system/
 1.19 04-May-2009  wiz Fix typo in Dd argument.
 1.18 05-Feb-2008  ad branches: 1.18.12;
Kill -r. Union makes for a poor nullfs.
 1.17 01-Aug-2007  pooka branches: 1.17.2; 1.17.4; 1.17.8;
Don't re-explain vfs.generic.usermount & friends here.
 1.16 31-Jan-2005  erh branches: 1.16.10; 1.16.12;
Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.
 1.15 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.
 1.14 07-May-2003  fair Add some mdoc macros. Add text from PR 13878, modified.
 1.13 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.12 16-Nov-2001  wiz branches: 1.12.2;
Sort SEE ALSO, sort sections.
 1.11 16-Nov-2001  wiz Whitespace nits
 1.10 05-Jun-2001  wiz Drop arguments of .Os.
 1.9 07-Mar-1999  mycroft Clean up SYNOPSIS formatting.
 1.8 16-Sep-1997  lukem resolve conflicts from lite-2 merge
 1.7 15-Sep-1997  lukem * update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
 1.6 30-Jun-1997  phil Note error when FFS does not support whiteouts and how to fix. (PR 3233)
 1.5 15-Jan-1996  thorpej Remove reference to mount_lofs(8), per Todd Williamson
<toddw@delorean.rb.isl.secom.co.jp> in PR #1783.
 1.4 29-Sep-1995  jtc Fixed example. The "-o -b" flags aren't needed unless the arguments
(directory and uniondir) are swapped. (PR #1469).
 1.3 30-May-1995  mycroft Add missing option in example.
 1.2 18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.1 08-Jun-1994  mycroft branches: 1.1.1;
Update from 4.4-Lite, with local changes.
 1.1.1.2 16-Sep-1997  lukem imported from lite-2
 1.1.1.1 13-Jun-1994  mycroft Import 4.4-Lite version.
 1.12.2.1 19-Jun-2003  grant Pull up revision 1.14 (requested by fair in ticket #1283):

Add some mdoc macros. Add text from PR 13878, modified.
 1.16.12.1 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.16.10.1 01-Aug-2007  liamjfoy Pull up following revision(s) (requested by pooka in ticket #807):
sbin/mount_union/mount_union.8: revision 1.17
Don't re-explain vfs.generic.usermount & friends here.
 1.17.8.2 01-Aug-2007  pooka Don't re-explain vfs.generic.usermount & friends here.
 1.17.8.1 01-Aug-2007  pooka file mount_union.8 was added on branch matt-mips64 on 2007-08-01 08:52:08 +0000
 1.17.4.1 18-Feb-2008  mjf Sync with HEAD.
 1.17.2.1 23-Mar-2008  matt sync with HEAD
 1.18.12.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.23 26-Jul-2020  mlelstv Refactor remaining mount_* commands to use the common pathadj()
function for resolving paths.

Make pathadj() no longer warn about symlinks. Symlinks in /dev are
regularly used in several places like LVM . The warning was also
only visible when calling a mount_* command directly as mount(8)
itself would resolve the path witout warning before passing it to
a mount_* command.
 1.22 29-Aug-2011  joerg Use __dead
 1.21 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
 1.20 05-Feb-2008  ad branches: 1.20.4; 1.20.8;
Kill -r. Union makes for a poor nullfs.
 1.19 16-Jul-2007  pooka branches: 1.19.4; 1.19.6;
Make all mount(2) return value error checks against -1. Some file
systems just checked != 0, breaking MNT_GETARGS. Others worked with < 0,
but make them check against -1 too for consistency. And sprinkle some
stylish line wrapping where appropriate.
 1.18 14-Jul-2007  dsl Add additional 'sizeof args' parameter to mount(2).
 1.17 16-Oct-2006  christos use MOPT_NULL
 1.16 21-Mar-2006  christos Always check the results of getmntopts() and free them.
 1.15 17-Mar-2006  erh Fix Coverity issue 1579. Check retval from getmntopts(). Use freemntopts().
 1.14 05-Feb-2005  xtraeme Kill __P(), use ANSI function declarations; WARNS=3.
 1.13 31-Jan-2005  erh Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.
 1.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.
 1.11 22-Mar-2003  jdolecek use <> rather than "" for #include mntopts.h
 1.10 19-Mar-2003  christos put this back.
 1.9 19-Mar-2003  christos union moved.
 1.8 21-Sep-2002  christos MNT_GETARGS support
 1.7 30-Oct-2000  jdolecek make the code includable into other programs:
* make static all symbols which do not need to be exported
* rename main() to mount_FOO()
* new main() now just calls mount_FOO(), main() is only compiled in if
MOUNT_NOMAIN is not defined
* a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local
versions removed
 1.6 25-Jun-1999  perseant Regularize error reporting of mount_* commands for failure of mount(2)
to the form:

mount_xxx: dev on dir: reason for failure
 1.5 16-Sep-1997  lukem branches: 1.5.4;
resolve conflicts from lite-2 merge
 1.4 15-Sep-1997  lukem * update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
 1.3 13-Apr-1996  jtc Add const qualifier to mopts table
 1.2 18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.1 08-Jun-1994  mycroft branches: 1.1.1;
Update from 4.4-Lite, with local changes.
 1.1.1.2 16-Sep-1997  lukem imported from lite-2
 1.1.1.1 13-Jun-1994  mycroft Import 4.4-Lite version.
 1.5.4.1 05-Sep-1999  he Pull up revision 1.6:
Regularize error reporting of mount_* commands for failure of
mount(2) to the form "mount_xxx: dev on dir: reason for failure"
(as opposed to the old "mount_xxx: : reason for failure").
(perseant)
 1.19.6.1 18-Feb-2008  mjf Sync with HEAD.
 1.19.4.1 23-Mar-2008  matt sync with HEAD
 1.20.8.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.20.4.1 28-Sep-2008  mjf Sync with HEAD.

RSS XML Feed