Linus Torvalds writes: > > On Wed, 16 May 2001, Richard Gooch wrote: > > > > > > This is still a really bad idea. You don't want to tie this kind of > > > things to the name. > > > > Why do you think it's a bad idea? > > Well, one reason names are bad is that they don't always exist. > > If you only have the fd (remember that unix notion of using <stdin> > and <stdout>), you'd have no clue where the thing came from. So > something else than the name is certainly a good idea for some of > these issues. But, as I described in my original message, you use /proc/self/fd to find where the fd came from. Or are you saying that you can't rely on having /proc available? Or do you have other reasons not to like the scheme I described? One of the reasons I like it is because it requires no new kernel code. > That said, I still think the real problem is rampant use of ioctl's, > which are a bad idea in the first place. Magic numbers are always > bad, and are a sign of bad design. No argument from me. Regards, Richard.... Permanent: [EMAIL PROTECTED] Current: [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Richard Gooch
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Richard Gooch
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Richard Gooch
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Kai Henningsen
- Re: LANANA: To Pending Device Number Registrants Kai Henningsen
- Re: LANANA: To Pending Device Number Registrants Linus Torvalds
- Re: LANANA: To Pending Device Number Registrants Richard Gooch
- Re: LANANA: To Pending Device Number Registrants Alan Cox
- Re: LANANA: To Pending Device Number Registrants Richard Gooch
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Alan Cox
- Re: LANANA: To Pending Device Number Registrants Jeff Garzik
- Re: LANANA: To Pending Device Number Registrants Guest section DW
- Re: LANANA: To Pending Device Number Registrants Alan Cox
- Re: LANANA: To Pending Device Number Registrants Chip Salzenberg
- Re: LANANA: To Pending Device Number Registrants Alexander Viro
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin