Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Mar 1998 18:01:12 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Mikael Karpberg <karpen@ocean.campus.luth.se>
Cc:        mike@smith.net.au (Mike Smith), current@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/sys reboot.h src/sys/i386/i386 autoconf.c 
Message-ID:  <199803090201.SAA12336@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 08 Mar 1998 16:32:10 %2B0100." <199803081532.QAA06008@ocean.campus.luth.se> 

next in thread | previous in thread | raw e-mail | index | archive | help
> According to Mike Smith:
> > If your boot disk is sliced (has a partition table), and you have not 
> > upgraded /sbin/mount to the most recent version preceeding this change, 
> > you will have problems booting.
> > 
> > This change means that if your current /etc/fstab looks like this:
> > 
> > /dev/xd0a	/	ufs	...
> > /dev/xd0s2e	/usr	ufs	...
> > 
> > you need to update it to look like:
> > 
> > /dev/xd0s2a	/	ufs	...
> > /dev/xd0s2e	/usr	ufs	...
> 
> Er... Excuse me for the maybe silly question, but WHY is this done?

It's the next step in the very slow process of divesting some of the old
design decisions from the 386BSD days.

> I mean... I run my disk split up between FreeBSD and Win95, and so there's
> really no ambigiousness. There's just one UFS slice. So not having to deal
> with the cumbersomeness of the "sX" part is nicer, and I went the other
> way, for shorter names:

Then you lose.  I'm sorry - you're currently taking advantage of a 
misfeature that is going to disappear very soon.  The DEVFS/SLICE code 
explicitly disavows any knowledge of the "compatability" slice.

> /dev/xd0a     /       ufs     ...
> /dev/xd0e     /usr    ufs     ...
> 
> Also, on my other machine I have a SCSI disk for freebsd, and a IDE disk
> for Win95. Computer boots from the ide, and then I use booteasy there to
> boot from the SCSI disk. The SCSI disk is not "dangerously dedicated",
> but it's just one big BSD slice. So... will I need "sd0s1a" on that,
> or just "sd0a"?

The changes I have made *only* affect the boot device.  The remainder 
of the "compatability slice" implementation remains.  

Note, however, that when you move to DEVFS, there will not be any sd0[a-h]
nodes *in* /dev/, so you wouldn't be able to mount them even if you 
wanted to.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  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?199803090201.SAA12336>