[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Re: modprobe /dev/*



On Fri, 15 Feb 2002, Russell Coker wrote:

> Below is a message from Richard Gooch regarding devfsd.  I suggested telling
> devfsd to ignore LOOKUP operations on any device node ending in '*'.  With
> the current setup when you do "ls -l /dev/abc*" the devfsd will run
> `modprobe "abc*"` which is not desired.
>
> Richard believes that the shell globbing should be changed.
>
> I am currently planning to disregard his suggestion and make the default
> configuration for devfsd in Debian ignore any LOOKUP event for a device node
> that ends in '*'.  This means that if anyone writes a device driver that uses
> a '*' character in it's name it might cause problems with module loading (but
> surely no-one would want to do that).  But apart from that I can't think of
> any reason for not doing this.
>
> Any comments?

Don't just exclude the wildcard at the end.  There may be wildcards
anywhere(*fo?bar*).



Reply to: