Re: devfs vs. udev

Greg KH
2003-10-07T17:48:15Z

On Tue, Oct 07, 2003 at 07:19:04PM +0200, Måns Rullgård wrote:
> Hugo Mills <hugo-lkml@carfax.org.uk> 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