diff --git a/usr.bin/eject/eject.1 b/usr.bin/eject/eject.1 index c3f4ff54e32d..78d19581a00b 100644 --- a/usr.bin/eject/eject.1 +++ b/usr.bin/eject/eject.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: eject.1,v 1.3 1997/10/18 13:38:09 lukem Exp $ +.\" $NetBSD: eject.1,v 1.4 1998/05/11 21:45:44 fair Exp $ .\" .\" Copyright (c) 1995 Paul Kranenburg .\" All rights reserved. @@ -30,46 +30,53 @@ .\" .Dd October 9, 1995 .Dt EJECT 1 -.Os +.Os .Sh NAME .Nm eject .Nd eject a floppy disk, cdrom or tape .Sh SYNOPSIS .Nm .Op Fl fnv -.Op Fl d Ar raw device -.Op Fl t Ar device type +.Op Fl d Ar raw-device +.Op Fl t Ar device-type .Op Ar device .Sh DESCRIPTION +The .Nm -ejects a medium from the specified device. +program ejects a medium from the specified device. The .Ar device argument specifies a device either by its full path name .Po identified by a \& -.Dq /dev/ +.Pa /dev/ prefix .Pc , -or by one of the built-in nicknames. If the medium contains a filesystem -that is currently mounted, +or by one of the built-in nicknames. +If the medium contains a filesystem that is currently mounted, .Nm will attempt to unmount the filesystem before ejecting. .Pp The following options are available: .Bl -tag -width xxx -.It Fl d Ar raw device -An alternative way to specify a raw device path name. It need not start with -.Dq /dev/ . +.It Fl d Ar raw-device +An alternative way to specify a raw device path name. +It need not start with +.Pa /dev/ . .It Fl f Force the eject operation without attempting to unmount any filesystems first. .It Fl n List the built-in nicknames on standard output. -.It Fl t Ar device type -Specify the device type. The argument must be one of -.Sy floppy , Sy cdrom +.It Fl t Ar device-type +Specify the device type. +The argument must be one of +.Sy diskette , +.Sy floppy , +.Sy cdrom , +.Sy disk , or .Sy tape . -Might be used for devices for which no built-in knowledge is available. +This option is necessary when ejecting a device for which no built-in +knowledge is available. .It Fl v Display some of the actions taken on standard output. .El