lkml.org 
[lkml]   [2001]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Larger dev_t
Date
From
> 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.

You can do it that way too

> But /dev/ide/host0/bus0/target0/lun0/part1 could get a new device
> number on every reboot, right?

It could be a different device each boot too. Who is doing the bus
enumeration in a constant manner.

> Otherwise it would be too easy to remove static major/minors and
> all the fun allocating them. And LANANA would have one thing less
> to worry about ;-)

There are a very large number of reasons you need them and things that depend
on constant numbering for block devices such as backup tools. They can Im sure
be taught constant naming, but there is no provision for names not device ids
in them.

Things like tar will no longer work on Linux for example because tar does not
know how to archive the name of a device node.

> One thing I certainly miss: DevFS is not mandatory (yet).

devfs solves a different problem - enumeration of dynamically configured
resources. Its unrelated to the fundamental problem.

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

\
 
 \ /
  Last update: 2005-03-22 13:22    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site