diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-09-15 10:24:46 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-09-15 10:24:46 +0000 |
commit | 8039eb9e6c6087f626b5d27ad85bc26b5711c25a (patch) | |
tree | cbfb81eaec30afc169fb8202d7d8fd28cd8826dd /usr.sbin/sade/disks.c | |
parent | ca47b7a2f4f9c46e4818fb8356a408dceff75b47 (diff) | |
download | FreeBSD-src-8039eb9e6c6087f626b5d27ad85bc26b5711c25a.zip FreeBSD-src-8039eb9e6c6087f626b5d27ad85bc26b5711c25a.tar.gz |
Device name cleanup for CAM.
Diffstat (limited to 'usr.sbin/sade/disks.c')
-rw-r--r-- | usr.sbin/sade/disks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index b5ed7ab..9f08837 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.98 1998/03/23 08:36:26 jkh Exp $ + * $Id: disks.c,v 1.99 1998/09/14 19:14:11 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -291,6 +291,7 @@ diskPartition(Device *dev) if (chunk_info[current_chunk]->type != freebsd) msg = "Can only scan for bad blocks in FreeBSD slice."; else if (strncmp(d->name, "sd", 2) || + strncmp(d->name, "da", 2) || !msgYesNo("This typically makes sense only for ESDI, IDE or MFM drives.\n" "Are you sure you want to do this on a SCSI disk?")) { if (chunk_info[current_chunk]->flags & CHUNK_BAD144) |