RE: My $0.02 on devd and devfs

Khimenko Victor (khim@sch57.msk.ru)
Tue, 12 Oct 1999 04:59:08 +0400 (MSD)


In <6074D22B3E4AD311A34C00805F85BAAB20A55F@VU_STPNT01> Shawn Leas (SLEAS@videoupdate.com) wrote:
> From: Jeff Garzik [mailto:jgarzik@pobox.com]
> Subject: Re: My $0.02 on devd and devfs

>>Khimenko Victor wrote:
>>> See above. Try to turn on printer, do `cat something > /dev/printer/0`
> with
>>> devfs and explain how it'll be handled with devd.
>>Are you implying here that /dev/printer/0 is created at open() time?
>>IMHO that is a bad idea.

> I think you're mis-understanding, and you didn't read the entire post.
> If the device node isn't there, devfs can locate the module needed,
> load it, and then the DRIVER, implicitely by having been loaded,
> puts it's device node into the namespace. (So to speak)

This all are details. All what you said is correct but the end result is
that /dev/printer/0 is created at open() time along with /dev/printer.

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