From owner-freebsd-fs@FreeBSD.ORG Thu Sep 3 17:13:55 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAAE51065676 for ; Thu, 3 Sep 2009 17:13:55 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: from smtp124.rog.mail.re2.yahoo.com (smtp124.rog.mail.re2.yahoo.com [206.190.53.29]) by mx1.freebsd.org (Postfix) with SMTP id 814CC8FC23 for ; Thu, 3 Sep 2009 17:13:55 +0000 (UTC) Received: (qmail 7197 invoked from network); 3 Sep 2009 16:47:14 -0000 Received: from unknown (HELO wawanesa.iciti.ca) (gtodd@99.246.61.82 with login) by smtp124.rog.mail.re2.yahoo.com with SMTP; 3 Sep 2009 16:47:14 -0000 X-YMail-OSG: dsuDLCAVM1mAYML_rCIYSis0ptrLra.sIBD8iVexl57yzUGvph13n9T_WISPPQtyNg-- X-Yahoo-Newman-Property: ymail-3 Received: from wawanesa.iciti.ca (wawanesa.iciti.ca [192.168.2.4]) by wawanesa.iciti.ca (Postfix) with ESMTP id 6122C102 for ; Thu, 3 Sep 2009 12:47:17 -0400 (EDT) Message-ID: <4A9FF314.1080909@bellanet.org> Date: Thu, 03 Sep 2009 12:47:16 -0400 From: Graham Todd User-Agent: Thunderbird 2.0.0.21 (X11/20090511) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Identifying disks with serial number X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 17:13:56 -0000 Hello all, Quick question on disk serial numbers. Besides manually geom_label-ling disks by serial number is there an automagic way for geom to present serial numbers to the system/devfs? I'm not using ZFS or anything but I've got to the point where anything that helps with juggling disks would be nice. I noticed a newish DragonflyBSD feature that does this. They "label" disks with serial numbers, devfs seems to see them and then you can use convenience aliases in /etc/devtab to make the serial number ID referenceable in /etc/fstab). See: http://leaf.dragonflybsd.org/mailarchive/users/2009-08/msg00149.html Something similar was discussed in freebsd-arch thread long ago (by the usual suspects (-: ): http://lists.freebsd.org/pipermail/freebsd-arch/2006-June/005344.html Is there a documented way to "autolabel" disks by serial number in FreeBSD? Thanks for all replies.