Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 1999 11:35:32 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Mike Smith <mike@smith.net.au>
Cc:        Harry Starr <starr3@gccs.com.au>, current <freebsd-current@FreeBSD.ORG>
Subject:   Re: disk slices and MAKEDEV confusion 
Message-ID:  <Pine.BSF.4.03.9905241133180.12536-100000@resnet.uoregon.edu>
In-Reply-To: <199905241618.JAA22046@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9905241133180.12536-100000>