From owner-freebsd-current Mon May 24 11:35:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id A202414D7F for ; Mon, 24 May 1999 11:35:48 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id LAA02016; Mon, 24 May 1999 11:35:32 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 24 May 1999 11:35:32 -0700 (PDT) From: Doug White To: Mike Smith Cc: Harry Starr , current Subject: Re: disk slices and MAKEDEV confusion In-Reply-To: <199905241618.JAA22046@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 24 May 1999, Mike Smith wrote: > > I am confused! > > > > The /boot/loader is "announcing" that it wants the root device to be > > "da0s1a". > > > > It appears that the "normal" fstab entries want "sliced" versions as well, > > eg. > > # Device Mountpoint FStype Options Dump > > Pass# > > /dev/da0s1b none swap sw 0 0 > > /dev/da0s1a / ufs rw 1 1 > > > > SO! Why does "sh MAKEDEV all" NOT make the partition entries for the > > slice(s) ??? > > > > ie, "sh MAKEDEV all" only makes the "compatability" slice entries -- da0s1, > > da0s2 etc. > > da0s1 is not a "compatibility slice" entry. That would be da0a, etc. > > The problem is that if you made all of the nodes for all of the > supported slices, /dev would be incredibly bloated. There are 8 > potential nodes per slice, and 20 potential slices per disk, plus the > compatability slice, so that's 168 node pairs (raw and buffered) > _per_disk_. Yes, but you're going to make them manually anyway, so why not make 'MAKEDEV all' DTRT and not blindly hose people? I'll take bloat if it keeps people from asking -questions. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message