summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mount_ufs.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed ROOTSLICE_HUNT. The root device is now found better bybde1999-01-091-34/+2
| | | | | | | getvfsent() in most cases. (The main exception is when /etc/fstab still hasn't been converted to use a slice for the root device, the root device is a SCSI device, and the /dev/sd* inode for this device still hasn't been renamed to /dev/da*.)
* Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()charnier1998-07-061-13/+11
| | | | strings.
* Fix a type mismatch between a scanf format string and thejdp1998-03-081-3/+3
| | | | corresponding argument.
* Make this compile again.steve1998-03-081-3/+3
| | | | | PR: 5948 Submitted by: Brian Feldman
* If we are mounting the root filesystem, and we're accessing it throughmsmith1998-03-081-2/+34
| | | | | | | | | | | | | | something that might refer to the compatability slice rather than the correct slice entry, try all the possible slice entries first. This is a compatability hack to deal with the case where the kernel has correctly mounted the root filesystem out of its slice, but the user has not updated their /etc/fstab file to reflect this. A diagnostic is emitted if the mount succeeds, indicating that the file should be updated. This is a prelude to fixing the kernel to behave as alluded to above. Reviewed by: (discussed with) julian, phk
* 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