aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_unionfs
Commit message (Collapse)AuthorAgeFilesLines
* Fix markup.Edward Tomasz Napierala2015-09-021-2/+2
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=287397
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge head from 7/28Simon J. Gerraty2014-08-191-3/+3
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=270164
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * sync from headSimon J. Gerraty2013-04-121-3/+2
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=249429
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | use .Mt to mark up email addresses consistently (part1)Baptiste Daroussin2014-06-201-3/+3
| |/ |/| | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267667
* | GC unused variables. Prefer NULL over 0 for pointers.Jung-uk Kim2013-03-051-3/+2
|/ | | | Notes: svn path=/head/; revision=247856
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-1/+1
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* Change checkpath() to not exit on error. This is a prerequisite forJaakko Heinonen2012-01-161-2/+4
| | | | | | | | | | fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version) Notes: svn path=/head/; revision=230226
* Fix SYNOPSIS.Gleb Smirnoff2011-03-231-1/+1
| | | | Notes: svn path=/head/; revision=219904
* Add a notice to the man page that batteries should be installed.Ed Schouten2010-09-211-0/+1
| | | | Notes: svn path=/head/; revision=212959
* Allowed unionfs to use whiteout not supporting file system asDaichi GOTO2010-09-051-3/+4
| | | | | | | | | | | | | | | | | | | | | | | upper layer. Until now, unionfs prevents to use that kind of file system as upper layer. This time, I changed to allow that kind of file system as upper layer. By this change, you can use whiteout not supporting file system (e.g., especially for tmpfs) as upper layer. It's very useful for combination of tmpfs as upper layer and read only file system as lower layer. By difinition, without whiteout support from the file system backing the upper layer, there is no way that delete and rename operations on lower layer objects can be done. EOPNOTSUPP is returned for this kind of operations as generated by VOP_WHITEOUT() along with any others which would make modifica tions to the lower layer, such as chmod(1). This change is suggested by ed. Submitted by: ed Notes: svn path=/head/; revision=212221
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-1/+0
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Added whiteout behavior option. ``-o whiteout=always'' is default modeDaichi GOTO2007-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 Notes: svn path=/head/; revision=172643
* Raise WARNS level to 6.Craig Rodrigues2007-02-132-2/+3
| | | | Notes: svn path=/head/; revision=166684
* Fix parsing of -o uid and -o gid options, so that -o uidxx and -o gidxxCraig Rodrigues2007-01-051-2/+2
| | | | | | | | | are not accepted. Submitted by: daichi, Masanori OZAWA <ozawa ongs co jp> Notes: svn path=/head/; revision=165788
* Fix wrong markup and some wordsmithing.Hiroki Sato2006-12-311-72/+84
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=165692
* o Correct a function prototype.Maxim Konovalov2006-12-041-1/+1
| | | | Notes: svn path=/head/; revision=164875
* Many, many thanks to Masanori OZAWA <ozawa@ongs.co.jp>Craig Rodrigues2006-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) Notes: svn path=/head/; revision=164829
* Use MOPT_END in favor of MOPT_NULL, which better describes the purporseXin LI2005-06-101-1/+1
| | | | | | | of the macro. Notes: svn path=/head/; revision=147242
* Add a handy macro to represent null mount option, MOPT_NULL, and makeXin LI2005-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. Notes: svn path=/head/; revision=146853
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-101-1/+1
| | | | Notes: svn path=/head/; revision=141611
* Sort sections.Ruslan Ermilov2005-01-181-7/+7
| | | | Notes: svn path=/head/; revision=140415
* Scheduled mdoc(7) sweep.Ruslan Ermilov2005-01-101-2/+2
| | | | Notes: svn path=/head/; revision=139987
* Mention the vfs.usermount sysctl.Christian Brueffer2004-07-181-0/+4
| | | | | | | | Obtained from: NetBSD via DragonFly BSD MFC after: 3 days Notes: svn path=/head/; revision=132326
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+5
| | | | Notes: svn path=/head/; revision=131488
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-092-8/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core, imp Notes: svn path=/head/; revision=128073
* style.Makefile(5):Johan Karlsson2004-02-231-1/+1
| | | | | | | Use WARNS?= instead of WARNS=. Notes: svn path=/head/; revision=126178
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* s/filesystem/file system/g as discussed on -developersTom Rhodes2002-08-211-7/+7
| | | | Notes: svn path=/head/; revision=102231
* Don't depend on namespace pollution in sys/mount.h andMaxime Henrion2002-08-131-0/+1
| | | | | | | include sys/uio.h. Notes: svn path=/head/; revision=101829
* Now that the kernel is able to load modules itself,Maxime Henrion2002-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. Notes: svn path=/head/; revision=101270
* The .Nm utilityPhilippe Charnier2002-07-061-3/+2
| | | | Notes: svn path=/head/; revision=99501
* nmount'ify unionfs further by using separate options insteadMaxime Henrion2002-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 Notes: svn path=/head/; revision=98266
* Convert mount_unionfs(8) to nmount.Maxime Henrion2002-05-241-10/+24
| | | | Notes: svn path=/head/; revision=97196
* o __P removedWarner Losh2002-03-211-2/+2
| | | | | | | o main prototype removed Notes: svn path=/head/; revision=92882
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+2
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79754
* Actually rename FDESC, PORTAL, UMAP and UNION file systems.Ruslan Ermilov2001-05-241-5/+5
| | | | | | | OK'ed by: bp Notes: svn path=/head/; revision=77133
* Missed one mount_null(8) -> mount_nullfs(8) in previous commit.Ruslan Ermilov2001-05-241-1/+1
| | | | Notes: svn path=/head/; revision=77128
* Rename (after a repo-copy) some mount(8) programs:Ruslan Ermilov2001-05-233-10/+10
| | | | | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs Notes: svn path=/head/; revision=77042
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileRuslan Ermilov2001-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. Notes: svn path=/head/; revision=77031
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-1/+1
| | | | Notes: svn path=/head/; revision=74531
* mdoc(7) police: Er macro usage cleanup.Ruslan Ermilov2000-11-221-6/+7
| | | | Notes: svn path=/head/; revision=69051