summaryrefslogtreecommitdiffstats
path: root/sbin/mount_unionfs
Commit message (Collapse)AuthorAgeFilesLines
* Added whiteout behavior option. ``-o whiteout=always'' is default modedaichi2007-10-141-0/+4
| | | | | | | | | | | (it is established practice) and ``-o whiteout=whenneeded'' is less disk-space using mode especially for resource restricted environments like embedded environments. (Contributed by Ed Schouten. Thanks) Submitted by: Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer) Reviewed by: jeff, kensmith Approved by: re (kensmith) MFC after: 1 week
* Raise WARNS level to 6.rodrigc2007-02-132-2/+3
|
* Fix parsing of -o uid and -o gid options, so that -o uidxx and -o gidxxrodrigc2007-01-051-2/+2
| | | | | | are not accepted. Submitted by: daichi, Masanori OZAWA <ozawa ongs co jp>
* Fix wrong markup and some wordsmithing.hrs2006-12-311-72/+84
| | | | Submitted by: ru
* o Correct a function prototype.maxim2006-12-041-1/+1
|
* Many, many thanks to Masanori OZAWA <ozawa@ongs.co.jp>rodrigc2006-12-023-96/+290
| | | | | | | | | | | | | and Daichi GOTO <daichi@FreeBSD.org> for submitting this major rewrite of unionfs. This rewrite was done to try to solve many of the longstanding crashing and locking issues in the existing unionfs implementation. This implementation also adds a 'MASQUERADE mode', which allows the user to set different user, group, and file permission modes in the upper layer. Submitted by: daichi, Masanori OZAWA Reviewed by: rodrigc (modified for minor style issues)
* Use MOPT_END in favor of MOPT_NULL, which better describes the purporsedelphij2005-06-101-1/+1
| | | | of the macro.
* Add a handy macro to represent null mount option, MOPT_NULL, and makedelphij2005-06-011-1/+1
| | | | | | | | | | | | | | | | | | | 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.
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-101-1/+1
|
* Sort sections.ru2005-01-181-7/+7
|
* Scheduled mdoc(7) sweep.ru2005-01-101-2/+2
|
* Mention the vfs.usermount sysctl.brueffer2004-07-181-0/+4
| | | | | Obtained from: NetBSD via DragonFly BSD MFC after: 3 days
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+5
|
* Remove advertising clause from University of California Regent's license,markm2004-04-092-8/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-7/+7
|
* Don't depend on namespace pollution in sys/mount.h andmux2002-08-131-0/+1
| | | | include sys/uio.h.
* Now that the kernel is able to load modules itself,mux2002-08-031-14/+3
| | | | | | | | | | 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.
* The .Nm utilitycharnier2002-07-061-3/+2
|
* nmount'ify unionfs further by using separate options insteadmux2002-06-151-17/+17
| | | | | | | of passing a flags mount options. This removes the include of sys/fs/unionfs/union.h in mount_unionfs as it should be. Reviewed by: phk
* Convert mount_unionfs(8) to nmount.mux2002-05-241-10/+24
|
* o __P removedimp2002-03-211-2/+2
| | | | o main prototype removed
* Default to WARNS=2.obrien2001-12-041-0/+2
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* Actually rename FDESC, PORTAL, UMAP and UNION file systems.ru2001-05-241-5/+5
| | | | OK'ed by: bp
* Missed one mount_null(8) -> mount_nullfs(8) in previous commit.ru2001-05-241-1/+1
|
* Rename (after a repo-copy) some mount(8) programs:ru2001-05-233-10/+10
| | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-232-2/+2
| | | | | | | | | | | | | | | 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.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+1
|
* mdoc(7) police: Er macro usage cleanup.ru2000-11-221-6/+7
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Use Fx macro wherever possible.ru2000-11-141-1/+2
|
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-091-5/+3
| | | | | | | | | | | | | | | | | 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
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* User reports that using mount_null destroyed his filesystem, I replyjkh1998-12-221-1/+11
| | | | | that nullfs really doesn't work, he askes why this isn't noted for the "dangerous" filesystems, I go "hmmm."
* .Nm mount_union -> .Nm.charnier1998-07-151-2/+3
|
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-1/+0
| | | | the default.
* Fixed an example.bde1997-08-251-1/+1
|
* Protect against target containing a '%' which might be misinterpretedsteve1997-08-231-2/+7
| | | | | | by err(3). PR: bin/3864
* Typo in previous change.dfr1997-05-231-1/+1
|
* Use realpath() on the source as well as the target otherwise it can bedfr1997-04-291-4/+8
| | | | impossible to unmount a union which was mounted with a relative pathname.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2 (use new getvfsbyname() and mount(2) interface)peter1997-03-112-8/+10
|
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-141-1/+1
| | | | | | 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.
* Disable setuid permission for mount_union(1).pst1996-05-171-3/+0
| | | | | | | | | This covers the security problem descibed in SA-96:10 and Jeff says that when we upgrade to Lite2 (which fixes this problem), mount no longer needs to be setuid, so we'll never be going back. Submitted by: hsu Reviewed by: pst
* Get rid of the last vestiges of the old MOUNT_* constants in thewollman1996-05-131-8/+11
| | | | | | | | | 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.
* Another round of various man page cleanups.mpp1996-02-091-3/+0
|
* Guess whatphk1994-11-201-1/+1
|
OpenPOWER on IntegriCloud