GEOM/bsdlabel regression in 8.x?

Daniel O'Connor doconnor at gsoft.com.au
Sun Jul 4 23:42:34 UTC 2010


On 05/07/2010, at 9:06, Daniel O'Connor wrote:

> 
> On 05/07/2010, at 24:52, Jaakko Heinonen wrote:
> 
>> On 2010-07-04, Daniel O'Connor wrote:
>>> "bsdlabel: Class not found"
>> 
>> This is because GEOM_BSD -> GEOM_PART_BSD change. bsdlabel(8) needs
>> read-write access to the device. If it can't get that, it tries an
>> alternative GEOM based method only supported by GEOM_BSD. The error
>> message "Class not found" is printed because the "BSD" GEOM class
>> doesn't exist.
>> 
>> You might be able to do the changes with gpart(8).
> 
> Ahh that does work..
> 
> midget# gpart add -t freebsd-ufs -i 4 md0s1

<snip>
> IMO it's still a regression because bsdlabel used to work, although I can appreciate it might be a rather in depth change to have it work with the New World Order (tm).

So, why didn't it? Shouldn't it DTRT? This is a stock kernel.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the freebsd-stable mailing list