aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_ifs/getmntopts.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed unused copy of ../mount/getmtopts.3.Bruce Evans2001-01-171-147/+0
| | | | | | | | | | | | | | Removed used copies of ../mount/getmntopts.c ../mount/mntopts.h. Use the versions in ../mount directly like all other mount utilities. Removed used copy of ../mount/pathnames.h. Use the version in ../mount for free as a side effect of using the mntopts files there. We should not use it at all, since the 2/3 of the definitions in it are in <paths.h> and the other 1/3 should be in ../mountd/pathnames.h and is not used by mount_ifs anyway. Notes: svn path=/head/; revision=71147
* mount* fixes from Martin Blapp <mb@imp.ch>:Poul-Henning Kamp1999-10-091-0/+39
| | | | | | | | | | | | | | | | | | | | 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-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()Philippe Charnier1998-07-061-6/+2
| | | | | | | strings. Notes: svn path=/head/; revision=37425
* Try to avoid mounting filesystems multiple times. Also whileSteve Price1997-08-241-0/+6
| | | | | | | | | | I'm here do some -Wall cleaning. PR: kern/1839 Reviewed and corrected by: joerg Notes: svn path=/head/; revision=28671
* Fix parsing of mount options with '=' in their name.Mike Smith1997-04-301-1/+1
| | | | | | | | PR: bin/3027 Submitted by: Louis Mamakos <louie@TransSys.COM> Notes: svn path=/head/; revision=25301
* Merge from Lite2Peter Wemm1997-03-111-3/+11
| | | | | | | | | | - 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! Notes: svn path=/head/; revision=23678
* Add support for filesystem-specific `-o' options, and re-implement theGarrett Wollman1994-11-011-4/+10
| | | | | | | | | | | | | | | | | | | 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!) Notes: svn path=/head/; revision=4065
* Add code to skip "userquota"/"groupquota" options needed forAndrey A. Chernov1994-09-291-3/+8
| | | | | | | quotaon/quotacheck Notes: svn path=/head/; revision=3202
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-261-0/+87
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. Notes: svn path=/head/; revision=1558