Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 14:38:59 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        Mark Valentine <mark@thuvia.demon.co.uk>, Poul-Henning Kamp <phk@critter.freebsd.dk>, "M. Warner Losh" <imp@bsdimp.com>, 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>
In-Reply-To: <Pine.BSF.4.21.0210251041050.6512-100000@InterJet.elischer.org>
References:  <200210251735.g9PHZ1sT075954@dotar.thuvia.org> <Pine.BSF.4.21.0210251041050.6512-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 25), Julian Elischer said:
> <dreaming>
>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021025193859.GA51818>