summaryrefslogtreecommitdiffstats
path: root/sbin/mount_ifs
Commit message (Collapse)AuthorAgeFilesLines
* Add the snapshot option to mount_ufs.mckusick2000-07-062-0/+2
|
* Removed xref to mount_lfs, this died in 2.mumble.nik2000-04-301-1/+0
| | | | | PR: docs/18272 Submitted by: Michael Lucas <mwlucas@blackhelicopters.org>
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-6/+12
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Don't scare the users.alfred2000-02-221-4/+0
| | | | | | | Kirk argees that the comment about corruption caused by switching the flags on an already mounted manpage are bogus, it doesn't happen. Ok by: mckusick
* This is another in Martin Blapp's N-series of mount-related cleanups :)green2000-01-151-3/+6
| | | | | | | | | | | | | Changes are: - rpc.umntall is called at the right places now in /etc/rc* - rpc.umntall timeout has been lowered from two days (too high) to one - verbose messages in rpc.umntall have been clarified - kill double entries in /var/db/mounttab when rpc.umntall is invoked - ${early_nfs_mounts} has been removed from /etc/rc - patched mount(8) -p to print different pass/dump values for ufs filesystems. (last patch recieved from dan <bugg@bugg.strangled.net>) Submitted by: Martin Blapp <mbr@imp.ch>, dan <bugg@bugg.strangled.net>
* Fix tab completion mounts (like /cdrom/)eivind1999-12-261-0/+1
| | | | Submitted by: Martin Blapp <mb@imp.ch>
* Print out the filesystem read counts now collected by the kernel.mckusick1999-12-011-0/+3
| | | | | Submitted by: Craig A Soules <soules+@andrew.cmu.edu> Reviewed by: Kirk McKusick <mckusick@mckusick.com>
* Fix a few things:green1999-10-301-15/+31
| | | | | | | | | | | | | 1. Get rid of the evilly bogus strdup(fstab) and free if (fstab == "") as in umount. 2. Don't use /etc/fstab info if the mount instance does not exactly match the fstab entry. 3. Reversed the mountpoint checking order in getmntpt(). 4. Clarify the "not mounted" error message in mount -u. The previous "unknown special file or file system" wasn't quite right. 5. Get rid of a 1-byte memory leak; this was reported by jhb. Submitted by: Martin Blapp <mb@imp.ch>
* Let a file with '@' or ':' in it take precedence over defaulting togreen1999-10-101-2/+4
| | | | nfs.
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-093-11/+44
| | | | | | | | | | | | | | | | | 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
* - Fixed some cases in which mount was segfaulting.n_hibma1999-10-081-10/+12
| | | | | | | | | Original patch from Adrian. Martin added a check for free(). - Included the filesystem type in output of mount PR: bin/13143 Submitted-By: Martin Blapp <mblapp@kassiopeja.lan.attic.ch>
* Document the "noasync" option.obrien1999-09-281-0/+3
|
* $Id$ -> $FreeBSD$peter1999-08-289-9/+9
|
* Add $Id$ to these manpages.nik1999-07-121-0/+1
| | | | Approved by: bde
* Null commit.jkoshy1999-05-072-2/+2
| | | | | | | > PR: bin/6399 > Submitted by: David Malone <dwmalone@maths.tcd.ie> Also reviewed by: bde
* 1. Enhanced syntax for mount(8). The -o option now supports two 'meta'jkoshy1999-05-072-39/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | options: -o fstab brings in filesystem options specified in /etc/fstab -o current incorporates the current set of options for the file system The rightmost option wins in the case of conflicting options being specified. E.g.:- # mount -u -o current,nosuid /home will preserve the current mount options while adding the 'nosuid' flag. 2. Rewording of manual page to be hopefully clearer; small -Wall cleanups. Thanks to David Malone for his patience and willingness to work multiple patches on request. PR: bin/6399 Submitted by: David Malone <dwmalone@maths.tcd.ie>
* modload -> kldload and add ref to kldload(8) in See Also section.ghelmer1999-04-081-2/+3
| | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* Fixed `mount -a -u ...'. Rev.1.19 broke this by trying too hard tobde1999-03-161-2/+3
| | | | | | | avoid mounting filesystems multiple times. PR: 10572 Submitted by: Cy Schubert <cy@cschuber.net.gov.bc.ca>
* Removed ROOTSLICE_HUNT. The root device is now found better bybde1999-01-092-38/+3
| | | | | | | 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*.)
* Warn about "mount -u" bug.des1998-10-161-1/+5
|
* Add a CAVEAT section documenting the minimum permissions required for a mountjkoshy1998-07-091-1/+8
| | | | | | point to be traversable in both directions by all users. PR: 7172
* Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()charnier1998-07-066-49/+36
| | | | strings.
* Print the write counts if they are nonzero even if we're mountedbde1998-06-081-4/+3
| | | | | | readonly, since they tell us about previous write activity. Use the correct format to print the write counts.
* Remove extraneous ")" from output.dt1998-05-171-2/+2
|
* New mount option nosymfollow. If enabled, the kernel lookup()wosch1998-04-083-3/+11
| | | | | function will not follow symbolic links on the mounted file system and return EACCES (Permission denied).
* Don't print the 'writes: sync & async' stuff if we're mounted readonlypeter1998-03-271-3/+6
| | | | or if the fs isn't keeping the stats..
* 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-082-3/+38
| | | | | | | | | | | | | | 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
* Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)julian1998-03-081-2/+6
| | | | | Submitted by: Kirk McKusick (mcKusick@mckusick.com) Obtained from: WHistle development tree
* Converted putfsent() to Lite2 mount interface - don't use numericbde1998-02-131-2/+2
| | | | filesystem types.
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-2/+1
| | | | the default.
* Add mount_devfs(8) to the SEE ALSO section.steve1997-12-011-1/+2
| | | | PR: 5125
* Reviewed by: hackers@freebsd.org in generaljulian1997-11-133-3/+22
| | | | | | | | | | | | | Obtained from: Whistle Communications tree Add an option to the way UFS works dependent on the SUID bit of directories This changes makes things a whole lot simpler on systems running as fileservers for PCs and MACS. to enable the new code you must 1/ enable option SUIDDIR on the kernel. 2/ mount the filesystem with option suiddir. hopefully this makes it difficult enough for people to do this accidentally. see the new chmod(2) man page for detailed info.
* Add noclusterr and noclusterw options. The noclusterr and noclusterwkato1997-09-273-4/+18
| | | | | | disable clustered read and write, respectively. Reviewed by: bde
* Removed duplicate MOPT_FORCE and sorted the first one. Rev.1.5 andbde1997-08-251-3/+2
| | | | Lite2 messed up the ordering differently.
* Moved getmntops() stuff back to mntopt.h so that it is visible in otherbde1997-08-252-8/+5
| | | | mount utilities.
* Backed out previous commit - don't clobber the (normally equivalent)bde1997-08-251-2/+1
| | | | default for NOSHARED.
* Forgot to cvs add this new file.steve1997-08-241-0/+40
|
* Try to avoid mounting filesystems multiple times. Also whilesteve1997-08-247-29/+99
| | | | | | | I'm here do some -Wall cleaning. PR: kern/1839 Reviewed and corrected by: joerg
* Mention the various reasons for messages of the form:joerg1997-08-241-1/+17
| | | | | | xxxxx filesystem is not available Inspired by: PR 3311, and a following discussion with Mikhail
* Always include the section name in the .Xr macro and cleanupsteve1997-08-241-11/+14
| | | | | | | .Nm macro usage. PR: docs/3940 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
* Fix parsing of mount options with '=' in their name.msmith1997-04-301-1/+1
| | | | | PR: bin/3027 Submitted by: Louis Mamakos <louie@TransSys.COM>
* Change vfork to fork, too many memory-clobbering actions present in childache1997-04-231-2/+2
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Finished (?) merging with Lite2: cleaned up #include mess; fixed mergingbde1997-03-121-62/+48
| | | | | | | | | | errors (mis-sorted prototypes, duplicated MNT_NOATIME, duplicated NULL mntopts fixup). Updated getopt() usage. Fixed style bugs in FreeBSD changes (one or two per line for putfsent() stuff).
* Merge from Lite2peter1997-03-117-154/+147
| | | | | | | - 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!
* Attempt to import Lite2's mount.bde1997-03-051-0/+92
|
* 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.
OpenPOWER on IntegriCloud