summaryrefslogtreecommitdiffstats
path: root/usr.sbin/burncd
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-09-15 19:03:35 +0000
committerdes <des@FreeBSD.org>2004-09-15 19:03:35 +0000
commit375f58b8c16491ec099f2f95a521bc7aebdb0279 (patch)
tree769c9212cd364cef11e4b6fc04864483961558db /usr.sbin/burncd
parentdca5814d9cd89d910df3692c94aea150713f293a (diff)
downloadFreeBSD-src-375f58b8c16491ec099f2f95a521bc7aebdb0279.zip
FreeBSD-src-375f58b8c16491ec099f2f95a521bc7aebdb0279.tar.gz
My fingers keep typing 'burncd data foo fixate eject' instead of 'burncd -e
data foo fixate'. Humor them. MFC after: 4 weeks
Diffstat (limited to 'usr.sbin/burncd')
-rw-r--r--usr.sbin/burncd/burncd.89
-rw-r--r--usr.sbin/burncd/burncd.c4
2 files changed, 11 insertions, 2 deletions
diff --git a/usr.sbin/burncd/burncd.8 b/usr.sbin/burncd/burncd.8
index 44bec39..010d6ef 100644
--- a/usr.sbin/burncd/burncd.8
+++ b/usr.sbin/burncd/burncd.8
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 18, 2002
+.Dd September 15, 2004
.Os
.Dt BURNCD 8
.Sh NAME
@@ -51,7 +51,7 @@ Available options and operands:
.It Fl d
burn the CD-R/RW in DAO (disk at once) mode.
.It Fl e
-eject the media when done.
+eject the medium when done.
.It Fl f Ar device
set the device to use for the burning process.
.It Fl F
@@ -92,6 +92,11 @@ switch when adding additional data to ISO file systems with extra sessions.
Blank a CD-RW medium.
This uses the fast blanking method, so data are not physically overwritten,
only those areas that make the media appear blank for further usage are erased.
+.It Cm eject
+Eject the medium when done.
+This is equivalent to the
+.Fl e
+option.
.It Cm erase
Erase a CD-RW medium.
This erases the entire media.
diff --git a/usr.sbin/burncd/burncd.c b/usr.sbin/burncd/burncd.c
index 7559609..e6eb516 100644
--- a/usr.sbin/burncd/burncd.c
+++ b/usr.sbin/burncd/burncd.c
@@ -163,6 +163,10 @@ main(int argc, char **argv)
fixate = 1;
break;
}
+ if (!strcasecmp(argv[arg], "eject")) {
+ eject = 1;
+ break;
+ }
if (!strcasecmp(argv[arg], "msinfo")) {
struct ioc_read_toc_single_entry entry;
struct ioc_toc_header header;
OpenPOWER on IntegriCloud