summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mntopts.h
Commit message (Collapse)AuthorAgeFilesLines
* 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