Re: /sys/$DEVPATH/uevent vs uevent attributes

2007-01-12 Thread Michael Tokarev
Greg KH wrote: > On Fri, Jan 12, 2007 at 10:32:10PM +0300, Michael Tokarev wrote: >> (No patch at this time, -- just asking about an.. idea ;) > > Let's see what such a patch looks like to see if it would be workable or > not. Umm.. it's definitely workable, and even almost trivial. Just

Re: /sys/$DEVPATH/uevent vs uevent attributes

2007-01-12 Thread Greg KH
On Fri, Jan 12, 2007 at 10:32:10PM +0300, Michael Tokarev wrote: > > (No patch at this time, -- just asking about an.. idea ;) Let's see what such a patch looks like to see if it would be workable or not. And no one forces you to use udev, I have machines with a static /dev that work just fine

/sys/$DEVPATH/uevent vs uevent attributes

2007-01-12 Thread Michael Tokarev
Not-so-recently already, device directories in /sys started providing files like modalias, which corresponds to $MODALIAS env. variable at uevent time. Also not-so-recently, uevent file appeared, which, when written, triggers re-execution of an uevent corresponding to the device. So far so good.

/sys/$DEVPATH/uevent vs uevent attributes

2007-01-12 Thread Michael Tokarev
Not-so-recently already, device directories in /sys started providing files like modalias, which corresponds to $MODALIAS env. variable at uevent time. Also not-so-recently, uevent file appeared, which, when written, triggers re-execution of an uevent corresponding to the device. So far so good.

Re: /sys/$DEVPATH/uevent vs uevent attributes

2007-01-12 Thread Greg KH
On Fri, Jan 12, 2007 at 10:32:10PM +0300, Michael Tokarev wrote: (No patch at this time, -- just asking about an.. idea ;) Let's see what such a patch looks like to see if it would be workable or not. And no one forces you to use udev, I have machines with a static /dev that work just fine :)

Re: /sys/$DEVPATH/uevent vs uevent attributes

2007-01-12 Thread Michael Tokarev
Greg KH wrote: On Fri, Jan 12, 2007 at 10:32:10PM +0300, Michael Tokarev wrote: (No patch at this time, -- just asking about an.. idea ;) Let's see what such a patch looks like to see if it would be workable or not. Umm.. it's definitely workable, and even almost trivial. Just splitting