summaryrefslogtreecommitdiff
path: root/sbin/umount
AgeCommit message (Collapse)Author
2016-12-16Eliminate some gcc warnings about 'unused variables', mostly byKenneth R Westerback
adding appropriate #ifdef's around declarations. ok millert@ (with a tweak I will commit separately)
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-02-21Permit building without portmap/mountd rpc calls in the fallback nfs pathTheo de Raadt
ok guenther
2013-07-21In getmntname(), iterate through the list of mount points fromTodd C. Miller
end to beginning instead of from beginning to end. This matches the behavior of umountall() and fixes "umount -a" in cases where there are multiple file systems on the same mount point. Based on a diff from naddy@. OK naddy@ guenther@
2013-04-21Check both f_mntfromname and f_mntfromspec when looking for a mountedJoel Sing
filesystem. This makes umount via DUID possible. ok krw@
2012-05-29Fix typo in error message ("Cannot MNT PRC"->RPC)Landry Breuil
ok krw@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2008-03-26zap undocumented 'F' flag; prompted by J.Thornburg. ok millert@Otto Moerbeek
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-01-28Remove cross references between fstab(5) and umount(8).Alexander Bluhm
ok millert jmc
2007-01-28Remove #include <fstab.h> as there is no fstab in umount anymore.Alexander Bluhm
Always use defined type name. Comment clarification. No binary change. ok millert
2006-06-29- special/node may be specified multiple times; from andracsJason McIntyre
- clean up DESCRIPTION somewhat feedback/ok otto ray
2006-06-29[-t ufs | lfs | external_type] -> [-t type]Jason McIntyre
syncs it w/ mount(8) too; suggested by martin usage() update
2005-12-30better wording, based on a diff from daniel matic;Jason McIntyre
2003-07-29spacesTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-07-03ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-24as early as v3, these isMichael Shalayeff
2001-05-18why exit if returnsMichael Shalayeff
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-07-27Look up the pathname verbatim in mount table in addition to the realpath(3)edTodd C. Miller
version. Basically just a generalization of my previous commit in this area.
2000-04-11If realpath() fails, just use the old name and don't make it a fatal error.Todd C. Miller
Closes PR #1185
2000-02-05Fix uninitialized access introduced by millert. ok millert@imp
2000-01-30When looking up a filesystem in the mount table, check the path asTodd C. Miller
giving by the user in addition to what reapath() returns. Things that call mount(2) directly may use paths different than what realpath() returns but you still want to be able to umount them...
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-02-27reverse complete garbage which was not even tested, tsk tsk tskTheo de Raadt
1999-02-17try harder to match the mntonname with the name we are trying to unmountArtur Grabowski
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28kill redundant .Nm macro arguments; other misc fixesAaron Campbell
1998-09-17sbin/ man page fixesAaron Campbell
1997-09-21$OpenBSD$Theo de Raadt
1997-08-20Fix typo. From Matthew Hunt <mph@pobox.com>.Todd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-23update rcsidTheo de Raadt
1996-05-22add more error checking to greywolf patchTheo de Raadt
1996-05-06use mounted table instead of fstab for -a; netbsd pr#2363; from ↵Theo de Raadt
greywolf@defender.VAS.viewlogic.com
1995-10-18initial import of NetBSD treeTheo de Raadt