Re: devfs vs. udev

From: Greg KH
Date: Tue Oct 07 2003 - 12:49:34 EST


On Tue, Oct 07, 2003 at 07:19:04PM +0200, Måns Rullgård wrote:
> Hugo Mills <hugo-lkml@xxxxxxxxxxxxx> writes:
>
> > Surely udev needs the ability to make more than one device node or
> > symlink when a device is plugged in anyway, so I just see this as an
> > issue of writing the appropriate default configuration files.
>
> Now you say "plug in". How does udev deal with devices that don't
> correspond something that can be plugged, physically or virtually
> (PCI)? I'm thinking of things like ttys, loopback devices, etc.

Look at sysfs. If it's in sysfs (like ttys and block devices) udev will
handle it.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/