Re: Thoughts on mounting the rootfs from a udev rule

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

 



On Fri, Mar 20, 2009 at 14:22, Seewer Philippe <philippe.seewer@xxxxxx> wrote:
> Kay Sievers wrote:
>> On Fri, Mar 20, 2009 at 14:07, Seewer Philippe <philippe.seewer@xxxxxx>
>> wrote:
>>>
>>> Karel Zak wrote:
>>>>
>>>> On Fri, Mar 20, 2009 at 10:24:03AM +0100, Seewer Philippe wrote:
>>>>>
>>>>> Again, is it possible to send events to udev from Userspace?
>>>>
>>>>  uevent files in /sys ?
>>>>
>>>>  echo "change" > /sys/devices/pci0000:00/0000:00:19.0/net/eth0/uevent
>>>
>>> good point! but... whatever I write in there, 'udevadm monitor' shows
>>> this:
>>>
>>> UEVENT[1237554273.439387] add
>>>  /devices/pci0000:00/0000:00:19.0/net/eth0
>>> (net)
>>> UDEV  [1237554273.446993] add
>>>  /devices/pci0000:00/0000:00:19.0/net/eth0
>>> (net)
>>
>> You got an ancient kernel? That was added very long ago to use match
>> valid event actions.
>
> Same behaviour on:
> -Ubuntu 8.10 stock 2.6.27-11-generic
> -Debian 5.0 stock 2.6.26-1-686

Oh, that's fine. You got a warning in dmesg, I guess, saying that you
did not write a proper string to the file? It's falling back to 'add'
then. Make sure you are not writing invalid action strings to it.

Kay
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux