[lkml]   [2001]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Larger dev_t
On Tue, Apr 03, 2001 at 02:20:24PM +0200, Ingo Oeser wrote:
> On Tue, Apr 03, 2001 at 01:06:33PM +0100, Alan Cox wrote:
> > Device numbers/names have to be constant in order to detect
> > disk layout changes across boots.
> Names stay constant, but why the NUMBERS? The names should stay
> constant and represent the actual layout on each busses (say:
> sane hierachic enumeration) of course.

This ignores the issue that in some cases you cannot give a physical location.
Take the case of fibre-channel connected disks, potentially using multi-path
I/O. There is no "actual layout" since you don't have a fixed physical path.
At that point you have to have a more sophisticated naming scheme than the
physical location of the disk, since physical location loses its meaning.

You absolutely must avoid device name slippage. Whether this involves major
and minor numbers is pretty much orthogonal. Major and minor numbers provided
a nice and simple way for the kernel to map a device open into a driver and an
argument to said driver. There are obviously other (more complex ways) of
achieving the same thing. An obvious answer for hard disks is some form of
labelling. Equally obviously, this does not solve the problem of e.g.
fibre-channel connected tape drives.



Tim Wright - or or
IBM Linux Technology Center, Beaverton, Oregon
Interested in Linux scalability ? Look at
"Nobody ever said I was charming, they said "Rimmer, you're a git!"" RD VI
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:23    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean