Date: Sat, 7 Nov 1998 22:54:29 -0600 (CST) From: Joel Ray Holveck <detlev!joelh@mail.camalott.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: i386/8597: fdisk uses obsolete "sd0" instead of "da0" [patch] Message-ID: <199811080454.WAA29336@detlev.UUCP>
next in thread | raw e-mail | index | archive | help
>Number: 8597 >Category: i386 >Synopsis: fdisk uses obsolete "sd0" instead of "da0" [patch] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 7 21:00:02 PST 1998 >Last-Modified: >Originator: Joel Ray Holveck >Organization: None >Release: FreeBSD 3.0-BETA i386 >Environment: Any CAMified -current i386 system >Description: Unless a disk is specified on the command line, fdisk tries to access wd0, then sd0, then od0. sd0 is an obsolete name and may confuse users. Additionally, on a newly created -current system, it appears that the sd0 device does not exist. (This has only been done by examining MAKEDEV, not experimentally.) Unless there is a reason to keep this default, I propose it be changed to da0. >How-To-Repeat: On a system with no wd0, run fdisk with no parameters. The message ******* Working on device /dev/rsd0 ******* will be emitted. >Fix: ----- cut here ----- *** fdisk.c.orig Sat Nov 7 22:44:35 1998 --- fdisk.c Sat Nov 7 22:45:31 1998 *************** *** 68,72 **** const char *disks[] = { ! "/dev/rwd0", "/dev/rsd0", "/dev/rod0", 0 }; --- 68,72 ---- const char *disks[] = { ! "/dev/rwd0", "/dev/rda0", "/dev/rod0", 0 }; ----- cut here ----- >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811080454.WAA29336>