From owner-freebsd-arch Fri Oct 25 12:39:27 2002 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 339B437BD36 for ; Fri, 25 Oct 2002 12:39:26 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3D4943E42 for ; Fri, 25 Oct 2002 12:39:25 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id g9PJcxUF033771; Fri, 25 Oct 2002 14:38:59 -0500 (CDT) (envelope-from dan) Date: Fri, 25 Oct 2002 14:38:59 -0500 From: Dan Nelson To: Julian Elischer Cc: Mark Valentine , Poul-Henning Kamp , "M. Warner Losh" , freebsd-arch@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.c write_i386_disk.c write_pc98_disk.c Message-ID: <20021025193859.GA51818@dan.emsphone.com> References: <200210251735.g9PHZ1sT075954@dotar.thuvia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Oct 25), Julian Elischer said: > > In the future I feel that the default names may eventually be > over-ridden by semantically meaningfull names. e.g. You may partition a > drive and give each partition a name which might be used instead of the > default inherrited name.. e.g. ad0s1s2b (not a typo) may decide that it > would rather be known "/dev/swap2" because the table entry has a field > "swap%d" in it, or disk2 may decide that it wants to be known as > "/dev/tunes". (A removable disk full of music) Linux allows this, sort of. You can label disks with tune2fs, and mount can find disks based either the label or filesystem UUID. This lets you have an fstab that looks like LABEL=server1usr /usr ext2 defaults 1 1 devfs/GEOM could do something similar via a /dev/disk/label/ namespace. For people on SANs, a way to identify a device directly by serial number or WWN might be handy (maybe also enabling multipath access). -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message