lkml.org 
[lkml]   [2000]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Drive name slips...
In <200002170310.e1H3AXL29880@sleipnir.valparaiso.cl> Horst von Brand (vonbrand@sleipnir.valparaiso.cl) wrote:
> Chris Meadors <chris@hereintown.net> said:
>> "Raj, Ashok" wrote:
>> > Linux kernel names the scsi drives sda, sdb .... so in case you switch
>> > slots, or move across to a different controller then its possible you
>> > can have very bad effects. Worst case is removing a drive and the drive
>> > device files dont have a persistant assiciation with the location, or
>> > do we have a magic superblock what the configured name was.

> [...]

>> devfs takes care of this. With the devfs patches you can address your
>> drive by it's physical location, from controller all the way down to
>> partition.

> That is exactly the wrong answer.

This RIGHT answer. Or rather "this is right half of answer". See below.

> What is needed is to address the _data_ on the disk, not it's ephemeral
> phyiscal location.

And what you can do if you DO NOT KNOW ENOUGH to address _data_ on the disk ?
How you can mount MO or ZIP this way, for example ? You should write label
on every ZIP and every MO-disk ??? Gosh.

> Worse yet, having to become acquainted with esotherica like "controller all
> way down to partition". OTOH, if you take a look at current versions of
> mount(8), you _can_ mount by volume identifier and don't need all this
> nonsense at all.

Ok. HOW, JUST HOW you can mount by volume identifier when you just DO NOT KNOW
that volume identifier ? Typical situation for removable media by the way.
Of course in perfect world every such medium will have label printed in that
medium... We live in real world, unfortunatelly... I've NEVER seen CD's where
information about label is printed on cover: you should mount it to find out.
And with you proposam you should ALREADY know what's number is to mount it...

P.S. When you know UUID it's can be enough. You just not always have such
information...



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans