dsl
|
09d4a5d5c8
|
Izumi Tsutsui pointed out that we don't need vfslist.c (from ../mount)
if we are defining SMALL.
|
2006-01-21 11:59:53 +00:00 |
|
dsl
|
3dd504cd3b
|
Set -DSMALL if SMALLPROG defined - ie building install ramdisk images.
Removes the code that uses rpc to query remote systems about nfs mounts.
The last references to the xdr routines escape - saving 64k+
|
2006-01-21 10:34:32 +00:00 |
|
mjl
|
0a7b52fa50
|
Typo fix (to umount is not yet a verb). Via OpenBSD bugs mailing list.
|
2005-12-30 10:29:56 +00:00 |
|
christos
|
2c6eadc9ce
|
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
|
2005-06-27 01:00:04 +00:00 |
|
erh
|
a432762d9a
|
Fix PR#3205 for the -a case: when the list of mount points comes from the
kernel, always use "raw" mode (-R option) so unmounting odd mount points works.
Also, fix available options in SMALL mode to include -R, not -r.
|
2005-01-31 01:19:30 +00:00 |
|
xtraeme
|
76500fc2f9
|
WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz)
|
2005-01-20 16:39:22 +00:00 |
|
xtraeme
|
8b90e8f10f
|
Remove main() prototype; WARNS=2
|
2005-01-19 20:43:06 +00:00 |
|
chs
|
a3b206f61a
|
pass data to a function via an argument instead of via a global variable.
this avoids a name collision with libcurses functions when both are
present in a crunched static binary. part of PR 26458.
|
2004-09-01 01:47:09 +00:00 |
|
wiz
|
3b1edec30d
|
Call -t argument fstypelist, to be in sync with code
and usage. Okayed by christos.
|
2004-04-21 22:31:16 +00:00 |
|
christos
|
ae0b00db5d
|
Make options match reality and agree with the source.
Don't document -A; it is there for compatibility only, and we want to
deprecate its use.
|
2004-04-21 19:17:00 +00:00 |
|
christos
|
ba0b3992d2
|
add #ifdef SMALL so that we can use this in the install media.
|
2004-04-21 15:20:40 +00:00 |
|
christos
|
6bd1d6d4db
|
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
|
2004-04-21 01:05:31 +00:00 |
|
dsl
|
8cc28b4b81
|
stop umount temporarily modifying what might be argv[n].
|
2004-03-12 21:48:32 +00:00 |
|
dsl
|
ff49552bb2
|
KNF and const sprinkle
|
2004-03-12 21:26:43 +00:00 |
|
dsl
|
b47125007b
|
Fix 'umount host:/filesystem' - it is documented on the man page but hasn't actually
worked for 10 years!
Remove the (broken) code that once supported 'umount /filesystem@host' since that
syntax isn't used anywhere.
Fixes PR bin/22099
|
2004-03-12 21:14:29 +00:00 |
|
agc
|
276d62f603
|
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
|
2003-08-07 10:04:22 +00:00 |
|
wiz
|
990562bfef
|
.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
|
2003-02-25 10:34:36 +00:00 |
|
lukem
|
7360d7b6ae
|
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
|
2002-08-19 10:16:51 +00:00 |
|
wiz
|
73f545bb5b
|
Drop arguments of .Os.
|
2001-06-05 11:22:41 +00:00 |
|
fvdl
|
d65482091f
|
Adapt to new RPC interface. Use getaddrinfo(), not gethostbyname().
|
2000-06-20 00:45:24 +00:00 |
|
chs
|
09218270f0
|
change `-a'' to be a synonym for `-A''.
addresses PR 7629.
|
2000-06-06 07:09:14 +00:00 |
|
drochner
|
85cbf55d16
|
Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
|
1999-11-09 15:06:30 +00:00 |
|
sommerfeld
|
95d53bad01
|
Fix PR7747: umount -R dumps core
(fix by Ronald Khoo from PR applied)
|
1999-08-02 02:40:38 +00:00 |
|
fair
|
9fc45baff5
|
Changes to implement "-R" (raw) option to umount, per PR#4030.
|
1998-04-17 01:19:42 +00:00 |
|
kleink
|
b5d46707c3
|
No need to include <sys/socketvar.h>.
|
1998-04-01 15:20:25 +00:00 |
|
mikel
|
e0fbb13a20
|
document -F flag; part of PR 4030 from der Mouse
|
1997-12-18 07:11:48 +00:00 |
|
drochner
|
6403c86ce4
|
Since umount works from the top we have to traverse the information
returned by getmountinfo() from the top too. Otherwise we get
the wrong mount data in case of 2 mounts on 1 pountpoint.
|
1997-11-01 12:54:45 +00:00 |
|
enami
|
0d4522a03f
|
Fix .Nm usage.
|
1997-10-20 09:11:16 +00:00 |
|
christos
|
e230a48b57
|
CFLAGS->CPPFLAGS
|
1997-10-10 19:47:50 +00:00 |
|
lukem
|
56638e9de2
|
resolve conflicts from lite-2 merge
|
1997-09-16 12:24:05 +00:00 |
|
lukem
|
788a79030a
|
* cleanup for WARNS=1
* fix .Nm usage
|
1997-09-15 11:33:59 +00:00 |
|
pk
|
98bd013c4a
|
Code previous somewhat more compactly.
|
1997-05-21 22:26:38 +00:00 |
|
pk
|
655f1af426
|
Do not force the ISBLK and ISDIR checks on the mount point.
|
1997-05-21 21:47:07 +00:00 |
|
mycroft
|
daa86d7011
|
Use kernel mount info rather than fstab. From greywolf@starwolf.com, slightly
modified.
|
1996-05-11 14:13:55 +00:00 |
|
mycroft
|
2a549b83f7
|
Fix the case where stat() fails, so that the file system is still unmounted.
|
1995-09-22 02:03:48 +00:00 |
|
cgd
|
3d113b326b
|
don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated
|
1995-06-18 10:58:06 +00:00 |
|
cgd
|
0114e805ce
|
convert to new RCS Id conventions; reduce my headache
|
1995-03-18 14:54:19 +00:00 |
|
mycroft
|
63292a1ad5
|
Make arg to selected() const. Disallow multiple `-t' options.
|
1995-01-30 17:20:06 +00:00 |
|
mycroft
|
a3f55cea68
|
Cosmetic changes to type list parsing.
|
1995-01-30 17:03:15 +00:00 |
|
mycroft
|
50b3661847
|
Be careful to only parse the host name from the mount path for NFS mounts.
|
1995-01-30 16:36:47 +00:00 |
|
cgd
|
06e2955ff1
|
specify man pages the new way.
|
1994-12-22 10:44:04 +00:00 |
|
cgd
|
193df6915c
|
several fixes from Mark Weaver <mhw@cs.brown.edu>, relating to error
reporting. (pr 431)
|
1994-08-25 02:14:01 +00:00 |
|
cgd
|
ae4c4d86f6
|
fix from John Kohl to return correct status when unmounting named fs's.
|
1994-08-23 20:57:04 +00:00 |
|
mycroft
|
1d47b37b46
|
Fix a couple of Makefile bogons.
|
1994-06-17 05:09:19 +00:00 |
|
mycroft
|
0924c7ec2d
|
Import 4.4-Lite version.
|
1994-06-13 22:50:46 +00:00 |
|
mycroft
|
bab8181299
|
Update from 4.4-Lite, with local changes.
|
1994-06-08 19:33:47 +00:00 |
|
cgd
|
5334ad51e1
|
fs type names, and much clean
|
1994-04-14 03:25:14 +00:00 |
|
deraadt
|
b61a97ceeb
|
should bzero automatic sockaddr's before use
|
1993-12-05 13:41:07 +00:00 |
|
cgd
|
909ad08f8c
|
there is no librpc any more
|
1993-10-08 00:51:12 +00:00 |
|
mycroft
|
e9d867ef50
|
Add RCS identifiers.
|
1993-08-01 17:54:45 +00:00 |
|