Re: devfs question

Richard Gooch (rgooch@ras.ucalgary.ca)
Tue, 18 Jul 2000 18:42:54 -0400


Andrew Pimlott writes:
> On Tue, Jul 18, 2000 at 06:20:07PM -0400, Richard Gooch wrote:
> > Andrew Pimlott writes:
> > > Perhaps best to look for a purely numerical last component, and in
> > > that case take the last two components.
> >
> > That would break the old names. "/dev/tty1" would not match to "tty1".
>
> I'm sorry, I meant fall back to the old logic if the last component
> of the path is not purely numerical.

You mean if all characters after the last '/' are numeric, match on
the last two path components?
Yeah, I guess that would work. It seems a little hacky, but then again
so are the other solutions.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

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