summaryrefslogtreecommitdiff
path: root/sbin/dump
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-06-02 05:09:36 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-06-02 05:09:36 +0000
commitd9e0ca7f07ce8d16f92597abdcdca100d6b01162 (patch)
tree55b87c4f52d0919bee43ee476ee4a3072fd016ec /sbin/dump
parent3dac4b45f4f0d96e6362a2125ade55b0b79dc4fa (diff)
Fix comment to reflect updated st(4) verbiage.
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/tape.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c
index 0e4336b0a73..503088766b2 100644
--- a/sbin/dump/tape.c
+++ b/sbin/dump/tape.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tape.c,v 1.26 2006/05/30 20:09:53 krw Exp $ */
+/* $OpenBSD: tape.c,v 1.27 2006/06/02 05:09:35 krw Exp $ */
/* $NetBSD: tape.c,v 1.11 1997/06/05 11:13:26 lukem Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)tape.c 8.2 (Berkeley) 3/17/94";
#else
-static const char rcsid[] = "$OpenBSD: tape.c,v 1.26 2006/05/30 20:09:53 krw Exp $";
+static const char rcsid[] = "$OpenBSD: tape.c,v 1.27 2006/06/02 05:09:35 krw Exp $";
#endif
#endif /* not lint */
@@ -408,10 +408,9 @@ trewind(void)
}
#endif
/*
- * st(4) says: "... bits 0 and 1 of the minor number are interpreted as
- * `sub-modes'. The sub-modes differ in the action taken when the
- * device is closed ...". In short, if bit 1 is set the tape will be
- * ejected on close.
+ * st(4) says: "Bit 1 of the minor number specifies whether an eject is
+ * attempted when the device is closed. When it is set, the device
+ * will attempt to eject its media on close ...".
*
* If the tape has been ejected, looping on open() will generate 'Media
* not present' errors until a tape is loaded. Once loaded the tape