[CentOS] forcing device to USB HDD
Andrea Dell'Amico
adellam at sevenseas.org
Sat Oct 27 18:25:25 UTC 2007
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20071027/57c8f0e5/attachment.sig>
More information about the CentOS
mailing list