summaryrefslogtreecommitdiffstats
path: root/sbin/umount/umount.8
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
* s/considred/considered/brueffer2004-03-041-1/+1
|
* When mount(8) is invoked with the `-v' flag, display the filesystemiedowse2003-07-181-11/+9
| | | | | | | | | | | | 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>
* mdoc(7) fixes: Fix the markup in the recently added ENVIRONMENT section.ru2003-05-191-6/+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-071-0/+12
| | | | specify an alternate fstab file.
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-14/+14
|
* The .Nm utility.charnier2002-07-061-3/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Remove vestiges of MFS.ru2001-06-011-2/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Clarify "mount -a -t" example - it only unmounts stuff in /etc/fstab.dwmalone2000-07-131-2/+5
| | | | | | | | Fix a typo. PR: 19438 Submitted by: Eoin Lawless <eoin@maths.tcd.ie> Reviewed by: sheldon
* quoting << Martin_Blappgreen1999-10-171-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Completly changed the internals of umount(8). We do three checks now to see if 'argv' is in the mounttable. It they all fail, we return to main and print a warning. - fixed the umount mount-order. The checks are rather complex to do this. Cause umount(8) should also be able to unmount several devices at once ('umount -a', 'umount -A', 'umount /mnt /mnt2'), the mount-order get's important. I added checks to mark and unmark already unmounted devices. - Various fixes with nfs-unmounts (no rpc-calls were done, or they were done although there was an existing mount). Since we allow overlay-mounts, we should also handle them properly. - Translate the deprecated nfs-syntax with '@' to ':' like mount_nfs does. The ':' syntax has now precedence, but '@' still works. - 'umount -v' is now fixed for all cases and doesn't print garbage like two times the mountpoint etc. - removed non documented and useless umount '-F'. - hanged nfsmounts can now unmounted 'without' any problems. I've removed stat() and realpath() checks on the mountpoint. Instead we just do a realpath() on the basedir of the mountpath and add the dirname again. Implemented this as an idea from phk. But there are still vfs-restrictions if the nfs_mount is busy. If there are unwritten metadata on a hanged nfs-mount, and we modify nfs_vfsops.c to not return EBUSY, we get a deadlock :( The problem has now moved from userland to kernel. - removed the BUGS part from the umount(8) manpage. - Converted it to ANSI C (more than 60% of the code have changed). Martin_Blapp Fixed PR's ---------- o [1999/02/03] bin/9893 NFS umount of regular file impossible s [1995/11/27] bin/841 stale nfs mounts cannot be umounted o [1999/08/01] bin/12911 alfred NFS umounts are not properly done if just the mountpoint gets umounted Only partially solved: ---------------------- The problem is now in kernel: o [1999/04/07] bin/11005 `umount -f' does not work if the NFS-server is down. PR: bin/9893 bin/841 bin/12911 bin/11005 Submitted by: Martin Blapp <mb@imp.ch>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Use errx() instead of err() for malloc failures. -Wall. Do not dotcharnier1998-08-031-3/+5
| | | | terminate errx() string. Remove unused #includes. Use .Tn for NFS.
* Fix a typo and while here cleanup the use of the .Nm macro.steve1997-08-201-6/+7
| | | | | PR: docs/4339 Submitted by: Matthew Hunt <mph@pobox.com>
* Merge from Lite2.bde1997-06-161-13/+16
| | | | | | | | | | | | - use new getvfsbyname() interface. - new -A option, like -a except only mounted file systems are unmounted. All non-cosmetic FreeBSD changes in umount.c, except ignoring of realpath() failures, went away because they are done better in Lite2. realpath() failures must be ignored so that non-pathnames like "<above>:/foo" and "host:/bar" get as far as mount(2). Reviewed by: dfr
* From njw@cs.city.ac.uk (Nick Williams):dg1994-11-041-0/+22
| | | | | | | | | | | /sbin/umount does not return the correct exit status due to incorrect logic in its internals. Further, because of the nature of the code, you *cannot* use it to umount a directory from a union mountpoint. Well, you can sometimes, it depends on if the directory is at the top of the union stack or not :) Submitted by: njw@cs.city.ac.uk (Nick Williams)
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+123
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud