summaryrefslogtreecommitdiffstats
path: root/sbin/mount
Commit message (Collapse)AuthorAgeFilesLines
* Assorted markup, grammar, and spelling fixes.ru2004-05-171-2/+2
|
* The previous change to mount(8) to report ufs or ufs2 usedbmilekic2004-04-262-13/+0
| | | | | | | | | | | libufs, which only works for Charlie root. This change reverts the introduction of libufs and moves the check into the kernel. Since the f_fstypename is the same for both ufs and ufs2, we check fs_magic for presence of ufs2 and copy "ufs2" explicitly instead. Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
* Remove advertising clause from University of California Regent's license,markm2004-04-098-32/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Correct the definition of the multilabel flag: it enables multilabelrwatson2004-03-261-3/+8
| | | | | | | MAC support on the file system, if supported, which causes MAC to treat each object as having its own label, rather than using a single label for all objects on the file system. This doesn't have to be used in combination with the tunefs/newfs flags -- it's an alternative.
* s/considred/considered/brueffer2004-03-041-1/+1
|
* Report the difference between ufs and ufs2.grog2004-02-172-3/+16
| | | | Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com>
* Reorder Xrefs in SEE ALSO.trhodes2004-02-101-5/+5
|
* Update to inform users of acls and multilabel options. Add Xrefs to thetrhodes2004-02-101-1/+20
| | | | | | | more relevant manual pages. PR: 62394 Submitted by: Marc Silver <marcs@draenor.org>
* Correct a typo and unbreak the build.nectar2004-02-031-1/+1
| | | | Pointy hat to: pjd
* Made use of MNT_USER flag and inform about user responsible for mountpjd2004-02-021-1/+5
| | | | | | | | | | | | | | | | | | | in those cases: 1. File system was mounted by an unprivileged user. 2. File system was mounted by an unprivileged root user. 3. File system was mounted by a privileged non-root user. Point 1 is when file system was mounted by unprivileged user (sysctl vfs.usermount was equal to 1 then). Point 2 is when file system was mounted by root, while sysctl security.bsd.suser_enabled is set to 0 and sysctl vfs.usermount is set to 1. Point 3 is because we want to be ready for capabilities. Reviewed by: rwatson Approved by: scottl (mentor)
* Style(9) option sortingguido2004-01-292-2/+2
| | | | Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
* Fix manpage and usage() to reflect that -a can be used in combinationguido2004-01-292-1/+2
| | | | | | | with -o Submitted by: Ruslan Ermilov <ru@FreeBSD.org> Pointed out by: Ceri Davies <ceri@submonkey.net
* Unbreak -o fstab and -o current in combination with -aguido2004-01-291-0/+2
| | | | MFC after: 2 weeks
* Allow trailing slashes for MNT_UPDATE case (mount -u), too.anholt2004-01-071-1/+1
| | | | | PR: bin/59144 Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* Style changetrhodes2003-12-072-2/+2
|
* Print out the file system access statistics using uintmax_t typesiedowse2003-12-071-4/+7
| | | | | | instead of casting the unsigned 64-bit values to longs. Suggested by: bde
* Don't include the file system ID in the output of `mount -v' if itiedowse2003-12-051-10/+12
| | | | | | | | | | | | | | is all zeros. The kernel now consistently zeroes FSIDs for non-root users, so there's no point in printing these. Also fix a number of compiler warnings, including two real bugs: - a bracket placement bug caused `mount -t ufs localhost:/foo /mnt' to override the `-t ufs' specification and use mount_nfs. - an unitialised variable was used instead of _PATH_SYSPATH when warning that the mount_* program cound not be found. Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz> (FSID part) Approved by: re (scottl)
* style.Makefile: Add a '?' before '=' in WARNS.trhodes2003-10-261-1/+1
|
* Reduce fstab(5)/mount(8) confusion by changing the man pages to say "ro"seanc2003-10-221-2/+2
| | | | | instead of "rdonly". "rdonly" works for mount(8) and mount_std(8) but not from /etc/fstab, whereas "ro" works for all mount_*(8) commands.
* Prefer PATH_MAX to MAXPATHLEN. PATH_MAX has the trailing NUL.imp2003-08-071-1/+1
|
* When mount(8) is invoked with the `-v' flag, display the filesystemiedowse2003-07-181-1/+4
| | | | | | | | | | | | ID for each file system in addition to the normal information. In umount(8), accept filesystem IDs as well as the usual device and path names. This makes it possible to unambiguously specify which file system is to be unmounted even when two or more file systems share the same device and mountpoint names (e.g. NFS mounts from the same export into different chroots). Suggested by: Dan Nelson <dnelson@allantgroup.com>
* Convert fsck and mount to using execvP to find fsck_foo and mount_foo.gordon2003-06-292-26/+6
| | | | | | | This simplifies the code path and makes the default path easy to override in the /rescue case. Submitted by: Tim Kientzle <kientzle@acm.org>
* Fixed the markup in the recently added ENVIRONMENT section.ru2003-05-171-6/+6
|
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-032-7/+6
|
* Bump the date for recent commits.mdodd2003-04-071-1/+1
|
* Clarify the behavior of PATH_FSTAB with regard to 'tainted' execution.mdodd2003-04-071-0/+7
| | | | Requested by: ru
* Implement the '-F' option for mount & umount which allows the user tomdodd2003-04-072-2/+17
| | | | specify an alternate fstab file.
* mdoc(7) police: kill unnecessary xref.ru2003-02-231-1/+0
|
* Mention the oddities and requirements for mount operations executed byjoerg2003-01-131-0/+4
| | | | | | | | non-root users. PR: docs/42651 Submitted by: Thomas Seck <tmseck@netcologne.de> MFC after: 3 days
* Remove the incorrect information about dump(8) and snapshots. All thetrhodes2002-12-131-6/+0
| | | | | | | | dump(8) issues are assumed to be fixed. PR: 46224 Submitted By: Chris Knight <chris@aims.com.au> Approved By: re (murray)
* Teach mount(8) about MNT_ACLS for the purposes of mount options andrwatson2002-10-142-1/+5
| | | | | | | mount option printing. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-213-60/+60
|
* mdoc(7) police: missing markup bits.ru2002-08-131-6/+12
|
* Update the manpage to match the code. The mount utilitiesmux2002-08-111-24/+2
| | | | | now don't try to load the filesystem module, the kernel takes care of this.
* Now that the kernel is able to load modules itself,mux2002-08-031-17/+1
| | | | | | | | | | remove all the code which was trying to do so. This code was nasty in several ways, it was hiding the kernel bug where the kernel was unable to properly load a module, and it was quitting if it wasn't able to load the module. The consequence is that an ABI breakage of the vfsconf API would have broken *every* mount utility.
* 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)
OpenPOWER on IntegriCloud