socket and udev

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

 



I want to use udev to detect a storage usb disk when it is plugged.
Since the version of udev here is v120, it is need to use sockets to
receive messages with data about events, such as it is used in
udevmonitor.c. However, bind function returns an error message ("bind
failed: Address already in use") because it is used bind again in
another process (udevd uses it first). Is there another way to get the
events from udev?

Thanks,
Ivan
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" 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 DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux