View | Details | Raw Unified | Return to bug 34220
Collapse All | Expand All

(-)/tmp/eject.1 (-23 / +7 lines)
Lines 36-74 Link Here
36
.Ar device
36
.Ar device
37
.Sh DESCRIPTION
37
.Sh DESCRIPTION
38
.Nm eject
38
.Nm eject
39
is a program to eject removable media from drive.
39
causes removable media to ejected from the drive named by
40
The
41
.Ar device
40
.Ar device
42
is a removable drive name such as cd0, matcd0, mcd0, scd0, wcd0 or od0. 
41
(eg, cd0, matcd0, mcd0, scd0, wcd0, or od0), which if mounted on a
43
.Nm eject
42
filesystem, is first dismounted.
44
unmounts the
45
.Ar device
46
if it was mounted brefore ejecting.
47
.Pp
43
.Pp
48
The following options are available:
44
The following options are available:
49
.Bl -tag -width Ds
45
.Bl -tag -width Ds
50
.It Fl f
46
.It Fl f
51
Force unmounts the device if it was mounted.
47
Forcibly unmounts the device if it was mounted (as in umount(8)).
52
.It Fl n
48
.It Fl n
53
Not execute operation but print it.
49
Do not eject, but verbosely output what would be done.
54
.It Fl v
50
.It Fl v
55
Verbose mode.
51
Verbosely output what is done.
56
.Sh ENVIRONMENT
52
.Sh ENVIRONMENT
57
If the following environment variable exists, it is used by
58
.Nm eject :
59
.Bl -tag -width Ds
53
.Bl -tag -width Ds
60
.It Ev EJECT
54
.It Ev EJECT
61
Specifies default device.
55
Specifies the default device.
62
.El
63
.Sh FILES
64
.Bl -tag -width /dev/rmatcd0c -compact
65
.It Pa /dev/rcd0c
66
.It Pa /dev/rmatcd0c
67
.It Pa /dev/rmcd0c
68
.It Pa /dev/rscd0c
69
.It Pa /dev/rwcd0c
70
.It Pa /dev/rod0c
71
.El
72
.Sh AUTHOR
56
.Sh AUTHOR
73
Shunsuke Akiyama <akiyama@jp.FreeBSD.org>
57
Shunsuke Akiyama <akiyama@jp.FreeBSD.org>
74
.Sh HISTORY
58
.Sh HISTORY

Return to bug 34220