From owner-freebsd-arch@FreeBSD.ORG Mon Jun 26 15:36:03 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43EA216A403; Mon, 26 Jun 2006 15:36:03 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7201F454A5; Mon, 26 Jun 2006 15:35:51 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5QFWdF8000372; Mon, 26 Jun 2006 09:32:40 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 26 Jun 2006 09:32:40 -0600 (MDT) Message-Id: <20060626.093240.-432837692.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <33398.1151304697@critter.freebsd.dk> References: <20060626031636.GK82074@funkthat.com> <33398.1151304697@critter.freebsd.dk> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: gurney_j@resnet.uoregon.edu, pjd@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Accessing disks via their serial numbers. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 15:36:03 -0000 In message: <33398.1151304697@critter.freebsd.dk> "Poul-Henning Kamp" writes: : I suspect that the proponents of this scheme will object to my proposal : because they can not do a "ls /dev/mumble/*" to get a list of disk : serial numbers, and if so, that dooms the proposal: If the only objective : is to get a list of serial numbers, then this is not how it should be : done, instead we should add a real VPD registry to the kernel. I'm curious... what's wrong with adding additional things to the /dev directory? One of the biggest annoyances I have in troubleshooting is not being able to see what files are there and having magic file names that one can open but not list. Warner