Re: Devfs, was Re: Migrating to larger numbers

CaT (cat@zip.com.au)
Wed, 9 Jun 1999 21:46:42 +1000


On Wed, Jun 09, 1999 at 11:42:07AM -0400, Stephen Frost wrote:
> On Wed, 9 Jun 1999, Richard Gooch wrote:
>
> > The symlinks would be put under /dev/cd. And it's only ever going to
> > have a few entries because I can't imagine many different interface
> > types being implemented.
> >
> > Now, if you *really* care, you can have devfsd create the symlinks in
> > /dev/cd as each interface type is loaded. Personally, I wouldn't
> > bother.
>
> I can understand that, and thinking back on it, the question
> really is, of what use is this? It does seem somewhat silly and
> cluttering things that don't really need to be... The
> for cd in /dev/*/cd solution (Provided that layout never changes)
> seems simple enough to me...
>
> I realize you didn't initially request this, so I'm not trying
> to ask you what use this is, but rather the list. :)

Well someone made a comment that it's not really convenient from a code
point of view (rather then script) so I made the suggestion of /dev/cd.

This way you have it even simpler and you know for a fact that everything
in there refers to a cd and as such don't need to search through dirs that
don't have anything to do with what you're looking for.

I'm on my... 3rd or 4th cup of coffee. Hope that made sense. :)

-- 
CaT (cat@zip.com.au)                    URL: http://zipper.zip.com.au/dev/null

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