summaryrefslogtreecommitdiffstats
path: root/sbin/mount
Commit message (Collapse)AuthorAgeFilesLines
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-022-1/+5
| | | | | | | | | | | | | | 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
* Add a bit of information on FFS snapshots to the mount(8) manual page.trhodes2002-07-111-0/+67
| | | | | | PR: 30139 Submitted by: Chris Knight <chris@aims.com.au? MFC after: 3 days
* The .Nm utilitycharnier2002-07-061-3/+2
|
* more file system > filesystemtrhodes2002-05-162-23/+23
|
* Fix a typo : ".Xr mount_udf 8," -> ".Xr mount_udf 8 ,".mux2002-05-111-1/+1
|
* Unbreak NFS mounts when mount(8) is invoked as : mount path@server.mux2002-04-231-1/+5
| | | | Reviewed by: obrien
* Do our best to determine if the user is attempting an NFS mount whenmux2002-04-221-6/+19
| | | | | | | | | | | the filesystem type isn't given in the command line. In the case of an IPv6 address containing ':', one must use the '@' separator for it to be properly parsed (mount_nfs(8) still needs fixing at the moment though). PR: bin/37230 Reviewed by: obrien MFC after: 1 week
* Add mount_udf and mount_smbfs to crossrefs.dwmalone2002-04-211-0/+2
| | | | | PR: 37200 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
* o __P removedimp2002-03-214-22/+21
| | | | o main prototype removed
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* <mntopts.h> -> "mntopts.h" in SYNOPSIS.ru2001-10-041-1/+1
| | | | Submitted by: bde
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-102-2/+2
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* - VFS_SET(msdos) -> VFS_SET(msdosfs)ru2001-06-012-1/+5
| | | | | | - msdos.ko -> msdosfs.ko - mount_msdos(8) -> mount_msdosfs(8) - "msdos" -> "msdosfs" compatibility glue in mount(8)
* Remove vestiges of MFS.ru2001-06-011-5/+4
|
* Rename (after a repo-copy) some mount(8) programs:ru2001-05-231-5/+5
| | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
* Implement the -r and -w options as `-o ro' and `-o noro', respectively. Atdd2001-05-021-2/+2
| | | | | | | | | | least in -w's case, simply unsetting the correct bit in init_flags was not enough. The bit may be reset later if, say, the filesystem is marked `ro' in fstab. The command line option should override the fstab setting, but did not. The implementation of -r was changed for consistency. PR: 26886 Reviewed by: archie
* mdoc(7) police: fix markup.ru2001-04-261-22/+23
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* Add an xref for mount_ntfs.nik2001-02-021-0/+1
| | | | | PR: docs/24693 Submitted by: Etienne Vidal <hallik@libertysurf.fr>
* Always print out the target device when the mount fails, not just onbsd2001-01-251-4/+1
| | | | ENOENT.
* Provide a better error message when the /dev entry is non-existant.bsd2001-01-251-0/+3
| | | | | Due to the old message, I spent way more time debugging a diskless root problem than it should have taken.
* Retire kernfs (userland part).des2000-12-281-1/+0
|
* Prepare for mdoc(7)NG.ru2000-12-181-0/+1
|
* mdoc(7) police: misc minor fixes.ru2000-11-231-44/+57
|
* o get rid lfs mentionsphantom2000-11-221-3/+3
| | | | o remove non-mdoc groff's instructions
* We do not support lfs. Remove it from list of remountable fs'es.phantom2000-11-221-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-8/+8
|
* .Xr to mount_ext2fs, mount_hpfs, mount_linprocfs, mount_nwfs, andnik2000-10-291-0/+5
| | | | | | | mount_std. PR: docs/20369 Submitted by: bmah
* Explain the notion that additional mount options may be describedsheldonh2000-08-281-6/+11
| | | | | | | in mount_XXX manual pages. Remove explicit mention of NFS mount options, since they are accurately described by this rule. PR: 20814
* Only print information about reads and writes when the -v flag (forsheldonh2000-08-231-6/+8
| | | | | | | | verbose mode) is specified. This should really have been the case when this extra cruft was first introduced in rev 1.23. PR: 20710 Reported by: Mike Meyer <mwm@mired.org>
* optreset is declared in unistd.h now.imp2000-08-161-1/+0
|
* Add the snapshot option to mount_ufs.mckusick2000-07-062-0/+2
|
* Removed xref to mount_lfs, this died in 2.mumble.nik2000-04-301-1/+0
| | | | | PR: docs/18272 Submitted by: Michael Lucas <mwlucas@blackhelicopters.org>
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-6/+12
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Don't scare the users.alfred2000-02-221-4/+0
| | | | | | | Kirk argees that the comment about corruption caused by switching the flags on an already mounted manpage are bogus, it doesn't happen. Ok by: mckusick
* This is another in Martin Blapp's N-series of mount-related cleanups :)green2000-01-151-3/+6
| | | | | | | | | | | | | Changes are: - rpc.umntall is called at the right places now in /etc/rc* - rpc.umntall timeout has been lowered from two days (too high) to one - verbose messages in rpc.umntall have been clarified - kill double entries in /var/db/mounttab when rpc.umntall is invoked - ${early_nfs_mounts} has been removed from /etc/rc - patched mount(8) -p to print different pass/dump values for ufs filesystems. (last patch recieved from dan <bugg@bugg.strangled.net>) Submitted by: Martin Blapp <mbr@imp.ch>, dan <bugg@bugg.strangled.net>
* Fix tab completion mounts (like /cdrom/)eivind1999-12-261-0/+1
| | | | Submitted by: Martin Blapp <mb@imp.ch>
* Print out the filesystem read counts now collected by the kernel.mckusick1999-12-011-0/+3
| | | | | Submitted by: Craig A Soules <soules+@andrew.cmu.edu> Reviewed by: Kirk McKusick <mckusick@mckusick.com>
* Fix a few things:green1999-10-301-15/+31
| | | | | | | | | | | | | 1. Get rid of the evilly bogus strdup(fstab) and free if (fstab == "") as in umount. 2. Don't use /etc/fstab info if the mount instance does not exactly match the fstab entry. 3. Reversed the mountpoint checking order in getmntpt(). 4. Clarify the "not mounted" error message in mount -u. The previous "unknown special file or file system" wasn't quite right. 5. Get rid of a 1-byte memory leak; this was reported by jhb. Submitted by: Martin Blapp <mb@imp.ch>
* Let a file with '@' or ':' in it take precedence over defaulting togreen1999-10-101-2/+4
| | | | nfs.
* mount* fixes from Martin Blapp <mb@imp.ch>:phk1999-10-093-11/+44
| | | | | | | | | | | | | | | | | 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
* - Fixed some cases in which mount was segfaulting.n_hibma1999-10-081-10/+12
| | | | | | | | | Original patch from Adrian. Martin added a check for free(). - Included the filesystem type in output of mount PR: bin/13143 Submitted-By: Martin Blapp <mblapp@kassiopeja.lan.attic.ch>
* Document the "noasync" option.obrien1999-09-281-0/+3
|
* $Id$ -> $FreeBSD$peter1999-08-289-9/+9
|
* Add $Id$ to these manpages.nik1999-07-121-0/+1
| | | | Approved by: bde
* Null commit.jkoshy1999-05-072-2/+2
| | | | | | | > PR: bin/6399 > Submitted by: David Malone <dwmalone@maths.tcd.ie> Also reviewed by: bde
* 1. Enhanced syntax for mount(8). The -o option now supports two 'meta'jkoshy1999-05-072-39/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | options: -o fstab brings in filesystem options specified in /etc/fstab -o current incorporates the current set of options for the file system The rightmost option wins in the case of conflicting options being specified. E.g.:- # mount -u -o current,nosuid /home will preserve the current mount options while adding the 'nosuid' flag. 2. Rewording of manual page to be hopefully clearer; small -Wall cleanups. Thanks to David Malone for his patience and willingness to work multiple patches on request. PR: bin/6399 Submitted by: David Malone <dwmalone@maths.tcd.ie>
OpenPOWER on IntegriCloud