Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 1999 09:18:53 -0700
From:      Mike Smith <mike@smith.net.au>
To:        "Harry Starr" <starr3@gccs.com.au>
Cc:        "current" <freebsd-current@freebsd.org>
Subject:   Re: disk slices and MAKEDEV confusion 
Message-ID:  <199905241618.JAA22046@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 23 May 1999 23:28:12 %2B1000." <006901bea520$1b41dbb0$0a9811cb@gccs.com.au> 

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


-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




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?199905241618.JAA22046>