summaryrefslogtreecommitdiff
path: root/sbin/bioctl
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-08-23 23:20:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-08-23 23:20:24 +0000
commitc874affa56f5681517a99cbfea67c64a38c3cc4d (patch)
treedfb6cb9072e84bf2801690f61aafa4bbfe48f359 /sbin/bioctl
parent23be20a7a539465bb3d68578e019d4a38e82b439 (diff)
disable -B support for now; ok dlg
Diffstat (limited to 'sbin/bioctl')
-rw-r--r--sbin/bioctl/bioctl.811
-rw-r--r--sbin/bioctl/bioctl.c11
2 files changed, 4 insertions, 18 deletions
diff --git a/sbin/bioctl/bioctl.8 b/sbin/bioctl/bioctl.8
index cf24130f8f0..72106452f9f 100644
--- a/sbin/bioctl/bioctl.8
+++ b/sbin/bioctl/bioctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bioctl.8,v 1.37 2005/08/22 14:11:12 jmc Exp $
+.\" $OpenBSD: bioctl.8,v 1.38 2005/08/23 23:20:23 deraadt Exp $
.\"
.\" Copyright (c) 2004, 2005 Marco Peereboom
.\"
@@ -34,7 +34,6 @@
.Bk -words
.Op Fl Dhiv
.Op Fl a Ar alarm-function
-.Op Fl B Ar channel:target[.lun]
.Op Fl b Ar channel:target[.lun]
.Op Fl H Ar channel:target[.lun]
.Op Fl u Ar channel:target[.lun]
@@ -71,14 +70,6 @@ The
may be specified as given above,
or by the first letter only
(e.g. -a e).
-.It Fl B Ar channel:target[.lun]
-Instruct the device at
-.Ar channel:target[.lun]
-to start blinking with the alarm LED, if there is
-.Xr ses 4
-or
-.Xr safte 4
-support in the enclosure.
.It Fl b Ar channel:target[.lun]
Instruct the device at
.Ar channel:target[.lun]
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index fe9edfc49a0..d3823771c54 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.38 2005/08/23 03:59:32 deraadt Exp $ */
+/* $OpenBSD: bioctl.c,v 1.39 2005/08/23 23:20:23 deraadt Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -82,7 +82,7 @@ main(int argc, char *argv[])
if (argc < 2)
usage();
- while ((ch = getopt(argc, argv, "b:B:u:H:ha:Div")) != -1) {
+ while ((ch = getopt(argc, argv, "b:u:H:ha:Div")) != -1) {
switch (ch) {
case 'a': /* alarm */
func |= BIOC_ALARM;
@@ -93,11 +93,6 @@ main(int argc, char *argv[])
blink = BIOC_SBBLINK;
bl_arg = optarg;
break;
- case 'B': /* alarm blink */
- func |= BIOC_BLINK;
- blink = BIOC_SBALARM;
- bl_arg = optarg;
- break;
case 'u': /* unblink */
func |= BIOC_BLINK;
blink = BIOC_SBUNBLINK;
@@ -179,7 +174,7 @@ usage(void)
extern char *__progname;
fprintf(stderr, "usage: %s [-Dhiv] [-a alarm-function]"
- " [[-bBHu] chan:targ[.lun]] device\n", __progname);
+ " [[-bHu] chan:targ[.lun]] device\n", __progname);
exit(1);
}