summaryrefslogtreecommitdiffstats
path: root/sbin/mount_ext2fs/mount_ext2fs.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert mount_ext2fs to a simple program which passes "-o option" to nmount().rodrigc2007-01-281-33/+31
|
* Garbage collect useless variables.stefanf2005-08-051-2/+1
|
* 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.
* Remove advertising clause from University of California Regent's license,markm2004-04-091-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Support mounting ext2fs file systems with -async to the small extentbde2004-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.
* Make this WARNS=2 clean byjohan2003-11-131-1/+1
| | | | | | | | - constifying copyright PR: 39867 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe
* 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-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.
* Convert mount_ext2fs(8) to nmount(2).mux2002-05-241-15/+18
| | | | Reviewed by: iedowse
* o __P removedimp2002-03-211-1/+1
| | | | o main prototype removed
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Don't refuse to pass the force and sync options to the kernel. Thebde1998-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.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Merge from Lite2 (use new getvfsbyname() and mount(2) interface)peter1997-03-111-9/+12
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-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.
* mount_ext2fs somehow got a stray mntopts.h, which was out of sync withpeter1996-07-231-2/+2
| | | | | | | the real ../mount/getmntopts.c and ../mount/mntopts.h Closes PR#1419 Submitted by: rhh@stealth.ct.picker.com (Randall Hopper)
* Get rid of the last vestiges of the old MOUNT_* constants in thewollman1996-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.
* Mount program for EXT2FS.dyson1995-11-061-0/+123
Submitted by: Godmar Back <gback@facility.cs.utah.edu>
OpenPOWER on IntegriCloud