Re: HEADS UP: device name checking on device registration

From: Andriy Gapon <avg_at_icyb.net.ua>
Date: Tue, 12 Oct 2010 23:57:37 +0300
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
Received on Tue Oct 12 2010 - 18:57:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC