Date: Wed, 13 Oct 2010 11:31:33 -0700 From: Matthew Jacob <mj@feral.com> To: freebsd-geom@freebsd.org Subject: Re: HEADS UP: device name checking on device registration Message-ID: <4CB5FB05.3040609@feral.com> In-Reply-To: <20101013182242.GA1988@a91-153-123-205.elisa-laajakaista.fi> References: <20101007180657.GA1383@a91-153-123-205.elisa-laajakaista.fi> <20101013085025.GB54686@jh> <4CB5E14B.9070308@feral.com> <20101013182242.GA1988@a91-153-123-205.elisa-laajakaista.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
Oh, duh. Yes, but the panic seems harsh. On 10/13/2010 11:22 AM, Jaakko Heinonen wrote: > >> Perhaps you could also fix devfs to not panic when somebody tries to >> make a device that already exists and just return an error with a >> diagnostic while you're at it? > I am not sure if I understand what you mean with this. > make_dev(9), make_dev_cred(9) and make_dev_credf(9) can't return an > error code. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CB5FB05.3040609>