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/