Re: forcing device to USB HDD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 2007-10-27 at 10:28 -0700, John R Pierce wrote:
> Paul wrote:

> 
> I suppose you could put a label on the drive (with tune2fs), then mount 
> it by LABEL=xxxx...  I dunno what else to suggest.
> 
> linux's crappy way of handling disk device names is one of my bigger 
> gripes about it.     its really messy in a SAN environment where there's 
> several storage controllers.   /dev/sdf could be almost -anything-.    I 
> prefer the c1t1d1 notation of traditional Unix systems like Solaris, 
> although there still can be issues identifying the channel #s

udev takes care to provide unique names to disk devices. By label, or by
uuid.
Take a look at /dev/disk/by-label or /dev/disk/by-uuid, and use those
entries as device names.

ciao
andrea
-- 
Question: “Is there a God?”
Answer: “No.”
From the Official God FAQ, http://www.400monkeys.com/God/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux