aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_ext2fs
Commit message (Collapse)AuthorAgeFilesLines
* GC unused mount_* directories. mount_reiserfs was disconnected from buildJung-uk Kim2013-03-053-211/+0
| | | | | | | with r158666. mount_ext2fs and mount_std were disconnected with r164527. Notes: svn path=/head/; revision=247860
* Change checkpath() to not exit on error. This is a prerequisite forJaakko Heinonen2012-01-161-1/+2
| | | | | | | | | | fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version) Notes: svn path=/head/; revision=230226
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-0/+1
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Convert mount_ext2fs to a simple program which passes "-o option" to nmount().Craig Rodrigues2007-01-281-33/+31
| | | | Notes: svn path=/head/; revision=166290
* Garbage collect useless variables.Stefan Farfeleder2005-08-051-2/+1
| | | | Notes: svn path=/head/; revision=148719
* 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
* 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
* Support mounting ext2fs file systems with -async to the small extentBruce Evans2004-02-151-0/+1
| | | | | | | | | | that ext2fs in the kernel supports async mounts. ext2fs used to effectively force the -async flag on. -async for ext2fs only gives async (more precisely, delayed) writes for inode updates, so it is barely worth using even when it is safe. Notes: svn path=/head/; revision=125841
* Make this WARNS=2 clean byJohan Karlsson2003-11-132-2/+1
| | | | | | | | | | | - constifying copyright PR: 39867 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe Notes: svn path=/head/; revision=122622
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-1/+1
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* s/filesystem/file system/g as discussed on -developersTom Rhodes2002-08-211-3/+3
| | | | 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-15/+2
| | | | | | | | | | | | | 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-2/+2
| | | | Notes: svn path=/head/; revision=99501
* Convert mount_ext2fs(8) to nmount(2).Maxime Henrion2002-05-241-15/+18
| | | | | | | Reviewed by: iedowse Notes: svn path=/head/; revision=97256
* more file system > filesystemTom Rhodes2002-05-161-3/+3
| | | | Notes: svn path=/head/; revision=96707
* o __P removedWarner Losh2002-03-211-1/+1
| | | | | | | 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
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79530
* - 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
* mount a --> mount anDan Moschuk2001-02-041-1/+1
| | | | | | | | PR: 24842 Submitted by: Rich Morin <rdm@cfcl.com> Notes: svn path=/head/; revision=72015
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68960
* mount* fixes from Martin Blapp <mb@imp.ch>:Poul-Henning Kamp1999-10-091-2/+9
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=52055
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Don't refuse to pass the force and sync options to the kernel. TheBruce Evans1998-09-091-1/+3
| | | | | | | | | kernel supports them, and the force option will be more important when mounting of unclean ext2fs file systems is not permitted unless it is forced. Notes: svn path=/head/; revision=39008
* Correct use of .Nm.Philippe Charnier1998-07-061-3/+4
| | | | Notes: svn path=/head/; revision=37426
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowBruce Evans1998-01-201-1/+0
| | | | | | | the default. Notes: svn path=/head/; revision=32645
* Show the real revision date and not the date that thisSteve Price1997-06-231-1/+1
| | | | | | | manpage is being viewed. Notes: svn path=/head/; revision=26826
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24359
* Merge from Lite2 (use new getvfsbyname() and mount(2) interface)Peter Wemm1997-03-112-9/+13
| | | | Notes: svn path=/head/; revision=23680
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22990
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Don't use __dead or __pure in user code. They were obfuscationsBruce Evans1996-09-141-2/+2
| | | | | | | | | 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. Notes: svn path=/head/; revision=18286
* Use the .Fx macro where appropriate.Mike Pritchard1996-08-231-1/+2
| | | | Notes: svn path=/head/; revision=17786
* mount_ext2fs somehow got a stray mntopts.h, which was out of sync withPeter Wemm1996-07-232-74/+2
| | | | | | | | | | the real ../mount/getmntopts.c and ../mount/mntopts.h Closes PR#1419 Submitted by: rhh@stealth.ct.picker.com (Randall Hopper) Notes: svn path=/head/; revision=17260
* Get rid of the last vestiges of the old MOUNT_* constants in theGarrett Wollman1996-05-131-20/+24
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=15770
* Hacked up a small man page for mount_ext2fs. The existing man page wasMike Pritchard1996-01-311-61/+10
| | | | | | | simply a copy of the mount_lfs man page. Notes: svn path=/head/; revision=13802
* Mount program for EXT2FS.John Dyson1995-11-064-0/+331
Submitted by: Godmar Back <gback@facility.cs.utah.edu> Notes: svn path=/head/; revision=12119