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
md0s1d added
midget# newfs /dev/md0s1d
/dev/md0s1d: 2.8MB (5744 sectors) block size 16384, fragment size 2048
        using 4 cylinder groups of 0.70MB, 45 blks, 128 inodes.
super-block backups (for fsck -b #) at:
 160, 1600, 3040, 4480
mmidget# mount /dev/md0s1d /mnt/test2
midget# mount
..
/dev/md0s1a on /mnt/test (ufs, local)
/dev/md0s1d on /mnt/test2 (ufs, local)

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).

--
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






_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to