From owner-freebsd-geom@FreeBSD.ORG Wed Oct 13 18:22:48 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2CE91065673 for ; Wed, 13 Oct 2010 18:22:48 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from gw01.mail.saunalahti.fi (gw01.mail.saunalahti.fi [195.197.172.115]) by mx1.freebsd.org (Postfix) with ESMTP id 7D5A58FC08 for ; Wed, 13 Oct 2010 18:22:48 +0000 (UTC) Received: from a91-153-123-205.elisa-laajakaista.fi (a91-153-123-205.elisa-laajakaista.fi [91.153.123.205]) by gw01.mail.saunalahti.fi (Postfix) with SMTP id A4847151424; Wed, 13 Oct 2010 21:22:44 +0300 (EEST) Date: Wed, 13 Oct 2010 21:22:42 +0300 From: Jaakko Heinonen To: Matthew Jacob Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CB5E14B.9070308@feral.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-geom@freebsd.org Subject: Re: HEADS UP: device name checking on device registration X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 18:22:48 -0000 On 2010-10-13, Matthew Jacob wrote: > I think this seems good. Thanks for looking at. > 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. -- Jaakko