Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 1998 22:39:00 -0800
From:      Wally Hinson <whinson@aracnet.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Off-by-one bug
Message-ID:  <3.0.5.32.19980317223900.007e6210@mail.aracnet.com>

next in thread | raw e-mail | index | archive | help
After watching all the discussion about the new slice code for the last
week or so, I decided to go ahead and see what happened to my system when I
upgraded...it went fine; I grabbed the latest sources (-current as of
3-15-98), made the world, built a new kernel, and rebooted -- mount told me
to update my fstab, I did so, and everything was fine when I rebooted again.

However, both times, the system announced that it was changing the root
device to wd0s2a, which is wrong -- FreeBSD owns the entire disk; if the
new code wants to view it as sliced anyway, that's fine, but it should get
the slice number right, and realize that the root device is wd0s1a, not
wd0s2a.  I remember seeing this off-by-one bug mentioned early on in the
talk about the new code, and was a little surprised to see it still
there...I know this is a minor nit to be picking, but it also seems like a
fairly simple thing to fix before release, and doing so might eliminate one
more potential source of confusion for people encountering the new slice
code for the first time.

Just my $0.02...

Wally Hinson
whinson@aracnet.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980317223900.007e6210>