[EMAIL PROTECTED] (H. Peter Anvin) wrote on 16.05.01 in <[EMAIL PROTECTED]>: > At some point something talks to the device -- in this case, it's the > SCSI layer. Follow the interfaces in the kernel and it becomes obvious. rc = sys_iskind(int filehandle, const char *driverkind) rc = 0 or Esomething Think of it as a generalization of isatty(). Maybe #define isatty(f) sys_iskind(f, "tty") :-; MfG Kai - 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 Jens Axboe
- 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 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