summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/mount.2
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete bits about maximum number of file systems.pluknet2015-04-121-6/+1
| | | | | | NMOUNT has gone together with static mount table in 4.3BSD-Reno. MFC after: 1 week
* Ta is only allowed with Bl -column not in Bl -itembapt2014-11-231-1/+1
|
* Change the current working directory to be inside the jail created bycperciva2010-05-271-1/+8
| | | | | | | | | | | | | | the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05] Correctly sanity-check a buffer length in nfs mount. [10:06] Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-10:04.jail Security: FreeBSD-SA-10:05.opie Security: FreeBSD-SA-10:06.nfsclient
* Add information about when nmount(2) was introduced.trasz2010-01-261-1/+5
|
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Fix a few markup nits in previous commit.trhodes2005-02-251-1/+1
| | | | Noticed by: ru, who else? :)
* Do not mislead users into checking for a mount_ufs or mount_ufs2 manualtrhodes2005-02-241-1/+3
| | | | | | | page. They do not exist. PR: 53303 Submitted by: Marc Silver <marcs@draenor.org> (original version)
* Sort sections.ru2005-01-201-2/+2
|
* MNT_NODEV is deprecated.ru2004-11-291-4/+1
|
* Document the MNT_SNAPSHOT mount flag with a cross-referenceroam2004-08-131-1/+7
| | | | | | | to mksnap_ffs(8). PR: 70402 Submitted by: James Raftery <james@now.ie>
* Markup, grammar, and spelling fixes.ru2004-06-301-6/+6
|
* Add fairly minimal documentation for the nmount() syscall.tjr2004-03-161-2/+34
|
* In the !MNT_BYFSID case, return EINVAL from unmount(2) when theiedowse2003-09-081-7/+12
| | | | | | | | | | | | | | specified directory is not found in the mount list. Before the MNT_BYFSID changes, unmount(2) used to return ENOENT for a nonexistent path and EINVAL for a non-mountpoint, but we can no longer distinguish between these cases. Of the two error codes, EINVAL was more likely to occur in practice, and it was the only one of the two that was documented. Update the manual page to match the current behaviour. Suggested by: tjr Reviewed by: tjr
* Add a new mount flag MNT_BYFSID that can be used to unmount a fileiedowse2003-07-011-1/+17
| | | | | | | | | | | | | | | | | | system by specifying the file system ID instead of a path. Use this by default in umount(8). This avoids the need to perform any vnode operations to look up the mount point, so it makes it possible to unmount a file system whose root vnode cannot be looked up (e.g. due to a dead NFS server, or a file system that has become detached from the hierarchy because an underlying file system was unmounted). It also provides an unambiguous way to specify which file system is to be unmunted. Since the ability to unmount using a path name is retained only for compatibility, that case now just uses a simple string comparison of the supplied path against f_mntonname of each mounted file system. Discussed on: freebsd-arch mdoc help from: ru
* Separate the description of the flags for mount(2) and unmount(2)iedowse2003-06-301-14/+16
| | | | | | | | to clarify which system call accepts which arguments. Previously the manual page gave the impression that calling unmount() with flags of (MNT_FORCE | MNT_UPDATE | MNT_RDONLY) would downgrade a read-write mount to read-only, which is clearly untrue; to do that, these flags should be passed to mount() instead.
* mdoc(7) police: markup laundry.ru2003-02-231-6/+7
|
* Mention the oddities and requirements for mount operations executed byjoerg2003-01-131-3/+16
| | | | | | | | non-root users. PR: docs/42651 Submitted by: Thomas Seck <tmseck@netcologne.de> MFC after: 3 days
* mdoc(7) police: "The .Fa argument.".ru2002-12-191-3/+13
|
* mdoc(7) police: Fixed abuses of the .Ar and .Em macros.ru2002-12-181-15/+15
|
* mdoc(7) police: Tidy up the syscall language.ru2002-12-181-7/+8
| | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
* Uniformly refer to a file system as "file system".ru2002-12-121-34/+34
| | | | Approved by: re
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-2/+2
|
* Use ``.Rv -std'' wherever possible.ru2001-08-311-13/+1
| | | | Submitted by: yar
* Remove whitespace at EOL.dd2001-07-151-4/+4
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Remove vestiges of MFS.ru2001-06-011-23/+0
|
* mdoc(7) police: Er macro usage cleanup.ru2000-11-221-4/+4
|
* Use `Er' variable to define first column width in ERRORS section. It wasphantom2000-05-041-1/+1
| | | | initially suggested by mdoc(7) style, but was broken over the years
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Remove some 4.3BSDish anacronisims that stated that it was anmpp1999-08-271-3/+1
| | | | | | | error for a pathname to contain a character with the high-order bit set. Inspired by: joerg's previous commit
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Fixed references to unmount(2) specified as umount.alex1999-03-051-4/+4
| | | | | Submitted by: Markus Friedl <markus.friedl@informatik.uni-erlangen.de> via OpenBSD
* Typo fix.jkoshy1998-08-281-1/+1
|
* correct a typo I just noticed.jkh1998-02-171-1/+1
|
* Reviewed by: hackers@freebsd.org in generaljulian1997-11-131-0/+12
| | | | | | | | | | | | | 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.
* Reviewed by: various.julian1997-11-121-3/+2
| | | | | | | | | | | | | | | | Ever since I first say the way the mount flags were used I've hated the fact that modes, and events, internal and exported, and short-term and long term flags are all thrown together. Finally it's annoyed me enough.. This patch to the entire FreeBSD tree adds a second mount flag word to the mount struct. it is not exported to userspace. I have moved some of the non exported flags over to this word. this means that we now have 8 free bits in the mount flags. There are another two that might well move over, but which I'm not sure about. The only user visible change would have been in pstat -v, except that davidg has disabled it anyhow. I'd still like to move the state flags and the 'command' flags apart from each other.. e.g. MNT_FORCE really doesn't have the same semantics as MNT_RDONLY, but that's left for another day.
* Describe MNT_NOCLUSTER{R,W} flags.kato1997-11-091-0/+4
| | | | Pointed out by: bde
* changed prototype to match textjmg1997-11-051-8/+4
| | | | | changed sysctl to lsvfs as "sysctl vfs" doesn't return a listing of possible filesystem names
* Updated prototype for mount() to match Lite2 reality for the 1st argbde1997-03-131-1/+1
| | | | and Lite1 or earlier reality for the 4th arg.
* Merge from Lite2 onto mainline -peter1997-03-111-153/+21
| | | | | - add undelete() and undelete.2 (requires libc minor bump some time) - man page updates
* Update to reflect new Lite2 mount.h and friends.mpp1997-02-101-50/+53
|
* Update to reflect current include files.mpp1997-01-301-21/+124
|
* Sort cross references.wosch1997-01-201-2/+2
|
* Remove the EINVAL error from the ERRORS sections thatmpp1997-01-111-2/+0
| | | | | say is means that a pathname had the high-order bit set, since this is no longer an error.
* Merge from the 2.2 branch: describe MNT_FORCE for mount(2).joerg1996-11-101-0/+3
|
* Added to MNT_FORCE option description after seeing Bruce's commit messageobrien1996-11-101-3/+24
| | | | | | | | | dealing w/the fixit floppy. Also added the MNT_RELOAD, MNT_WANTRDWR, MNT_ASYNC, MNT_NOATIME, MOUNT_UNION flags. Someone might want to check my description of MNT_RELOAD. 2.2-R candidate. Not a 2.1.6-R candidate -- some current flags aren't in 2.1.5-R's version.
* Correctly use .Fn instead of .Nm to reference function namesmpp1996-08-221-7/+11
| | | | | | | | in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+314
OpenPOWER on IntegriCloud