document -F flag; part of PR 4030 from der Mouse

This commit is contained in:
mikel 1997-12-18 07:11:48 +00:00
parent e43a4bda4a
commit e0fbb13a20
2 changed files with 14 additions and 7 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: umount.8,v 1.5 1997/10/20 09:12:14 enami Exp $
.\" $NetBSD: umount.8,v 1.6 1997/12/18 07:11:48 mikel Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -41,11 +41,11 @@
.Nd unmount filesystems
.Sh SYNOPSIS
.Nm
.Op Fl fv
.Op Fl fvF
.Ar special | node
.Nm ""
.Fl a | A
.Op Fl fv
.Op Fl fvF
.Op Fl h Ar host
.Op Fl t Ar type
.Sh DESCRIPTION
@ -80,6 +80,13 @@ The filesystem is forcibly unmounted.
Active special devices continue to work,
but all other files return errors if further accesses are attempted.
The root filesystem cannot be forcibly unmounted.
.It Fl F
Fake the unmount; perform all other processing but do not actually
attempt the unmount. (This is most useful in conjunction with
.Fl v ,
to see what
.Nm
would attempt to do.)
.It Fl h Ar host
Only filesystems mounted from the specified host will be
unmounted.

View File

@ -1,4 +1,4 @@
/* $NetBSD: umount.c,v 1.21 1997/11/01 12:54:45 drochner Exp $ */
/* $NetBSD: umount.c,v 1.22 1997/12/18 07:11:49 mikel Exp $ */
/*-
* Copyright (c) 1980, 1989, 1993
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)umount.c 8.8 (Berkeley) 5/8/95";
#else
__RCSID("$NetBSD: umount.c,v 1.21 1997/11/01 12:54:45 drochner Exp $");
__RCSID("$NetBSD: umount.c,v 1.22 1997/12/18 07:11:49 mikel Exp $");
#endif
#endif /* not lint */
@ -385,7 +385,7 @@ usage()
{
(void)fprintf(stderr,
"usage: %s\n %s\n",
"umount [-fv] [-t fstypelist] special | node",
"umount -a[fv] [-h host] [-t fstypelist]");
"umount [-fvF] [-t fstypelist] special | node",
"umount -a[fvF] [-h host] [-t fstypelist]");
exit(1);
}