summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mntopts.h
Commit message (Collapse)AuthorAgeFilesLines
* Change checkpath() to not exit on error. This is a prerequisite forjh2012-01-161-1/+1
| | | | | | | fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (previous version)
* Implement NFSv4 ACL support for UFS.trasz2009-12-211-1/+3
| | | | Reviewed by: rwatson
* Remove unsupported "dev" option from comments of mntopts.h.rodrigc2005-12-021-1/+1
| | | | Requested by: jkoshy
* Remove MNT_NODEV mount option. In RELENG_6, MNT_NODEV was a no-op.rodrigc2005-11-291-2/+0
| | | | | | The presence of MNT_NODEV was confusing the am-utils autoconf scripts. PR: conf/79715
* - Make size parameter to build_iovec() a size_t, not an introdrigc2005-11-131-1/+2
| | | | | | | - 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
* Use MOPT_END in favor of MOPT_NULL, which better describes the purporsedelphij2005-06-101-2/+2
| | | | of the macro.
* Add a handy macro to represent null mount option, MOPT_NULL, and makedelphij2005-06-011-0/+3
| | | | | | | | | | | | | | | | | | | use of the macro in sbin/mount*'s, by replacing: mopts[] = { MOPT_STDOPTS, { NULL } } With: mopts[] = { MOPT_STDOPTS, MOPT_NULL } This change will help to reduce the situation that we don't explicitly initialize "struct mntopt"'s. It should not contribute to any functional/logical changes as far as I can tell.
* Revert last change. It doesn't break mount(8) reportingru2004-11-301-0/+2
| | | | but allows a "nodev" in /etc/fstab, etc.
* Fix the mount(8) status reporting, now that MNT_NODEV is a no-op (zero).ru2004-11-291-2/+0
| | | | Asked to commit by: phk
* Add a convenience function for building nmount iov arrays.phk2004-11-251-0/+1
|
* 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
* Teach mount(8) about MNT_ACLS for the purposes of mount options andrwatson2002-10-141-1/+3
| | | | | | | mount option printing. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-021-1/+3
| | | | | | | | | | | | | | kernel access control. Teach mount(8) to understand the MNT_MULTILABEL flag, which is used to determine whether a file system operates with individual per-vnode labels, or treats the entire file system as a single object with a single (mount) label. The behavior here will probably evolve some now that nmount(2) is available and can more flexibly support mount options. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* o __P removedimp2002-03-211-3/+3
| | | | o main prototype removed
* Add the snapshot option to mount_ufs.mckusick2000-07-061-0/+1
|
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-091-0/+2
| | | | | | | | | | | | | | | | | 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-3/+3
| | | | strings.
* New mount option nosymfollow. If enabled, the kernel lookup()wosch1998-04-081-1/+3
| | | | | function will not follow symbolic links on the mounted file system and return EACCES (Permission denied).
* Reviewed by: hackers@freebsd.org in generaljulian1997-11-131-1/+3
| | | | | | | | | | | | | 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-271-2/+6
| | | | | | disable clustered read and write, respectively. Reviewed by: bde
* Moved getmntops() stuff back to mntopt.h so that it is visible in otherbde1997-08-251-1/+4
| | | | mount utilities.
* Try to avoid mounting filesystems multiple times. Also whilesteve1997-08-241-3/+1
| | | | | | | I'm here do some -Wall cleaning. PR: kern/1839 Reviewed and corrected by: joerg
* Merge from Lite2peter1997-03-111-11/+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!
* Implemented user side of "noatime" mount option. This option disablesdg1996-09-031-1/+3
| | | | | | the file access time update on reads and can be useful in reducing filesystem overhead in cases where the access time is not important (like Usenet news spools).
* The changes for adding the "noauto" option were mostly wrong. MNT_NOAUTOdg1995-08-261-1/+1
| | | | | is a kernel flag, and the kernel definately doesn't need to know about it.
* Add a "noauto" flag so that you can do things like prevent your systemjkh1995-08-231-0/+2
| | | | | | from not coming up multiuser just because you have a CD mount in fstab but no CD in the drive. Submitted by: "Full Name Not Supplied" <simon@masi.ibp.fr>
* Fix force flag: It is not a "negative" flag. Add MNT_FORCE to the acceptabledg1995-05-121-1/+1
| | | | options for UFS (which fixes another bug).
* Add support for filesystem-specific `-o' options, and re-implement thewollman1994-11-011-14/+16
| | | | | | | | | | | | | | | | 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/+4
| | | | quotaon/quotacheck
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+72
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud