From owner-freebsd-bugs Tue Jul 11 3: 0:13 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 031F137BE1D for ; Tue, 11 Jul 2000 03:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA59589; Tue, 11 Jul 2000 03:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail.ruhr.de (in-ruhr2.ruhr.de [141.39.224.60]) by hub.freebsd.org (Postfix) with SMTP id 9E60437BBDC for ; Tue, 11 Jul 2000 02:52:26 -0700 (PDT) (envelope-from ue@nathan.ruhr.de) Received: (qmail 32737 invoked by alias); 11 Jul 2000 09:52:46 -0000 Received: (from ue@localhost) by nathan.ruhr.de (8.9.3/8.9.3) id LAA16572; Tue, 11 Jul 2000 11:49:59 +0200 (CEST) (envelope-from ue) Message-Id: <200007110949.LAA16572@nathan.ruhr.de> Date: Tue, 11 Jul 2000 11:49:59 +0200 (CEST) From: Udo Erdelhoff Reply-To: ue@nathan.ruhr.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/19849: MAKEDEV still defaults to da0X instead of da0s1X Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19849 >Category: conf >Synopsis: MAKEDEV still defaults to da0X instead of da0s1X >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 11 03:00:02 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Udo Erdelhoff >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: src/etc/MAKEDEV versions 1.260 (HEAD), 1.243.2.7 (RELENG_4) >Description: "Dangerously dedicated" disks have been deprecated for a long time. As a result, most installations of FreeBSD 4.X (or -current, for that matter) will use slices. Sysinstall automatically creates the necessary devices (e.g. /dev/da0s1[a-h]) for the user. On the other hand, MAKEDEV {da0,std,all,fixit) will only create da0[a-h] and da0s[1-4]. This can cause problems if the user is forced to swap (or remove) disks. The missing devices on the fixit floppy are especially annoying. The problem also exists for ad and other disk devices. MAKEDEV should create the neccessary devices for filesystem on the first slice of the disk in addition to the devices for the filesystems on a "dangerously dedicated" disk. >How-To-Repeat: as root: cd /dev sh MAKEDEV da100 ls da100* >Fix: Suggested patch for src/etc/MAKEDEV 1.260 (creates da0s1[a-h] and da0[a-h]): --- MAKEDEV 2000/06/26 15:42:48 1.260 +++ MAKEDEV 2000/07/07 20:44:56 @@ -575,7 +575,7 @@ esac case $unit in [0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1]) - for slicepartname in s0h s1 s2 s3 s4 + for slicepartname in s0h s1h s2 s3 s4 do sh MAKEDEV $name$unit$slicepartname done >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message