summaryrefslogtreecommitdiffstats
path: root/sbin/mount/getmntopts.c
Commit message (Collapse)AuthorAgeFilesLines
* - Clean up checkpath().jh2012-01-201-8/+5
| | | | | | | | - Remove unneeded sysexits.h include. No functional change. Submitted by: bde
* Change checkpath() to not exit on error. This is a prerequisite forjh2012-01-161-4/+8
| | | | | | | fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version)
* style(9)obrien2008-12-261-2/+2
|
* In build_iovec(), if passed in len is -1, check to see ifrodrigc2005-11-141-3/+6
| | | | | | val is NULL before doing strlen() to calculate new len. Submitted by: maxim
* - Make size parameter to build_iovec() a size_t, not an introdrigc2005-11-131-3/+25
| | | | | | | - Add build_iovec_argf() helper function, for help converting old mount options which used the mount_argf() function for the mount() syscall. Discussed with: phk
* Switch from K&R-style C prototypes to ISO/ANSI-style C prototypes.rodrigc2005-10-071-11/+4
|
* Avoid comparing pointer against a numerical value by adding a * indelphij2004-11-251-1/+1
| | | | | | front of it. Reviewed by: phk
* Add a convenience function for building nmount iov arrays.phk2004-11-251-0/+24
|
* Fix bug: don't let "synco" match "sync"phk2004-11-251-4/+2
|
* 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
* Style changetrhodes2003-12-071-1/+1
|
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-5/+4
|
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()charnier1998-07-061-6/+2
| | | | strings.
* Try to avoid mounting filesystems multiple times. Also whilesteve1997-08-241-0/+6
| | | | | | | I'm here do some -Wall cleaning. PR: kern/1839 Reviewed and corrected by: joerg
* Fix parsing of mount options with '=' in their name.msmith1997-04-301-1/+1
| | | | | PR: bin/3027 Submitted by: Louis Mamakos <louie@TransSys.COM>
* Merge from Lite2peter1997-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!
* Add support for filesystem-specific `-o' options, and re-implement thewollman1994-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!)
* Add code to skip "userquota"/"groupquota" options needed forache1994-09-291-3/+8
| | | | quotaon/quotacheck
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+87
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud