From owner-freebsd-bugs Tue Jul 11 10: 0: 7 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 1A8D837BF0F for ; Tue, 11 Jul 2000 10:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA51198; Tue, 11 Jul 2000 10:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 11 Jul 2000 10:00:02 -0700 (PDT) Message-Id: <200007111700.KAA51198@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: conf/19849: MAKEDEV still defaults to da0X instead of da0s1X Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR conf/19849; it has been noted by GNATS. From: Bruce Evans To: Udo Erdelhoff Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: conf/19849: MAKEDEV still defaults to da0X instead of da0s1X Date: Wed, 12 Jul 2000 02:55:10 +1000 (EST) On Tue, 11 Jul 2000, Udo Erdelhoff wrote: > >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. /dev/da0X is not for "dangerously dedicated" disks. It is for the first BSD slice. This gives a canonical way to find all BSD partitions on most systems (ones with at most one BSD slice per disk). Unfortunately, someone attempted to deprecate using the traditional BSD partition names because of transient bugs in the boot loader interface. > 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. No, there is nothing special about the first slice. The first slice is unlikely to be the BSD slice except on "undangerously dedicated" disks. Perhaps partitions for all slices should be created. This costs 64 directory entries and inodes per drives (16 for each slice). Some of the wastage could be recovered by not creating entries for so many drives by default. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message