summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mount_ufs.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed duplicate MOPT_FORCE and sorted the first one. Rev.1.5 andbde1997-08-251-3/+2
| | | | Lite2 messed up the ordering differently.
* Try to avoid mounting filesystems multiple times. Also whilesteve1997-08-241-3/+9
| | | | | | | I'm here do some -Wall cleaning. PR: kern/1839 Reviewed and corrected by: joerg
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2peter1997-03-111-16/+18
| | | | | | | - use new getvfsbyname() interface and mount(2) interface **DANGER WILL ROBINSON!!** You must be running a -current kernel from within a week or so in order for this to work!
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Fix force flag: It is not a "negative" flag. Add MNT_FORCE to the acceptabledg1995-05-121-0/+1
| | | | options for UFS (which fixes another bug).
* Add support for filesystem-specific `-o' options, and re-implement thewollman1994-11-011-1/+1
| | | | | | | | | | | | | | | | most common cd9660 and nfs options like God intended them. (It is now possible to say mount -o ro,soft,bg,intr there:/foo/bar /foo/bar again.) This whole getmntopt() business is an incredible botch; it never should have been anything more than a wrapper around getsubopt(3). Because if the way the current hackaround is implemented, options which take arguments (like the old `rsize' and `wsize') are still unavailable, and must be accessed the new, broken way. (It's unimaginable how Berkeley managed to screw up one of the few things about NFS that Sun actually got right to begin with!)
* Add code to skip "userquota"/"groupquota" options needed forache1994-09-291-0/+2
| | | | quotaon/quotacheck
* Use getvfs* functions to map between VFS types and names.wollman1994-09-221-1/+16
| | | | | Automatically load UFS if it is not present but is loadable. (This won't happen now, but could happen if we fix NFS diskless support.)
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+131
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud