Commit Graph

28 Commits

Author SHA1 Message Date
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
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 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 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
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00