Re: Migrating to larger numbers

Matt Aubury (Matt.Aubury@comlab.ox.ac.uk)
Tue, 8 Jun 1999 14:06:35 +0100


On Tue, Jun 08, 1999 at 12:54:59PM -0400, Stephen Frost wrote:
> On Tue, 8 Jun 1999, Matt Aubury wrote:
> > It's not the right choice for the more important drivers in the
> > kernel, but for purely modular drivers (those which really do need to
> > be in kernel space), I think it makes a wad of sense. What do the
> > other protagonists feel?
>
> Well, couple things, for one, what about those 'more important
> drivers'? My biggest problem w/ linux these days is the scsi device
> stuff. If this could be fixed w/ shell scripts and reading info out
> of /proc, then that may work. But then, what about USB, PCMCIA, and
> other dynamic pieces? Do you have modprobe or whatnot create and
> delete the nodes? Do you just create the nodes w/ the assumption that
> they'll be used?

There are big bootstrapping issues with any device which may hold the
root filesystem, so I doubt if it would be a good idea for SCSI.

As for dynamically pluggable devices, I guess the correct way to
handle these is via a daemon which invokes the script when new devices
are added or removed. That way we only have inodes for devices that
are actually present, not for ones which might turn up later.

Cheers,
Matt

-
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/