summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-03-20 14:11:22 +0000
committerjkh <jkh@FreeBSD.org>1996-03-20 14:11:22 +0000
commit1f98498d8604a94e40793f92d392118b22b40ea0 (patch)
tree6b807f1e97dfc2bd2f9a903346e7e78b4ae4db76 /usr.sbin
parentdb84bacdc6144b9c96bdcd39b16a2f7c8b1385eb (diff)
downloadFreeBSD-src-1f98498d8604a94e40793f92d392118b22b40ea0.zip
FreeBSD-src-1f98498d8604a94e40793f92d392118b22b40ea0.tar.gz
Accept DEL as a synonym for `delete'
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/disks.c3
-rw-r--r--usr.sbin/sade/label.c3
-rw-r--r--usr.sbin/sysinstall/disks.c3
-rw-r--r--usr.sbin/sysinstall/label.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c
index 94e9999..378c1a3 100644
--- a/usr.sbin/sade/disks.c
+++ b/usr.sbin/sade/disks.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: disks.c,v 1.35 1996/01/23 21:05:22 joerg Exp $
+ * $Id: disks.c,v 1.36 1996/03/18 15:27:49 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -382,6 +382,7 @@ diskPartition(Device *dev, Disk *d)
}
break;
+ case '\177':
case 'D':
if (chunk_info[current_chunk]->type == unused)
msg = "Partition is already unused!";
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index 4580c20..e7ad6ca 100644
--- a/usr.sbin/sade/label.c
+++ b/usr.sbin/sade/label.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: label.c,v 1.37 1996/03/02 20:02:13 jkh Exp $
+ * $Id: label.c,v 1.38 1996/03/18 15:27:58 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -919,6 +919,7 @@ diskLabel(char *str)
}
break;
+ case '\177':
case 'D': /* delete */
if (label_chunk_info[here].type == PART_SLICE) {
msg = MSG_NOT_APPLICABLE;
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c
index 94e9999..378c1a3 100644
--- a/usr.sbin/sysinstall/disks.c
+++ b/usr.sbin/sysinstall/disks.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: disks.c,v 1.35 1996/01/23 21:05:22 joerg Exp $
+ * $Id: disks.c,v 1.36 1996/03/18 15:27:49 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -382,6 +382,7 @@ diskPartition(Device *dev, Disk *d)
}
break;
+ case '\177':
case 'D':
if (chunk_info[current_chunk]->type == unused)
msg = "Partition is already unused!";
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c
index 4580c20..e7ad6ca 100644
--- a/usr.sbin/sysinstall/label.c
+++ b/usr.sbin/sysinstall/label.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: label.c,v 1.37 1996/03/02 20:02:13 jkh Exp $
+ * $Id: label.c,v 1.38 1996/03/18 15:27:58 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -919,6 +919,7 @@ diskLabel(char *str)
}
break;
+ case '\177':
case 'D': /* delete */
if (label_chunk_info[here].type == PART_SLICE) {
msg = MSG_NOT_APPLICABLE;
OpenPOWER on IntegriCloud