HEADS UP: device name checking on device registration
Andriy Gapon
avg at icyb.net.ua
Tue Oct 12 20:57:44 UTC 2010
on 12/10/2010 16:36 Matthew Jacob said the following:
> Good workaround, still a nasty surprising bug.
Yeah. I also would prefer ignoring such a partition or somehow sanitizing its
name or etc. panic(9) on bad internal state of a kernel sounds appropriate,
panic(9) on bad input sounds like trouble.
P.S. Matthew, it seems like you have a really unhelpful mail client program:
first, it top-posts :-)
second, it doesn't always attribute quoted text.
It also doesn't cc in replies the addresses that were in to or cc of original
message, which may or may not be a good thing.
>> On 2010-10-11, barbara wrote:
>>> The panic is caused by:
>>> g_dev_taste(): make_dev_p() failed (gp->name=ext2fs//, error=22)
>>> as I have a linux partition (I swear, it's for my mom!) on the same machine.
>>> As I don't care about that partition (being ext4 I can't even mount
>>> it), is there any solution other then applying the patch after every
>>> csup?
>> If you don't need ext2fs labels you can put the following line to
>> /boot/loader.conf as a workaround:
>>
>> kern.geom.label.ext2fs.enable=0
--
Andriy Gapon
More information about the freebsd-current
mailing list