[systemd-devel] How to use libudev to monitor for /sys/firmware/iscsi_boot*?

2014-12-05 Thread Lee Duncan
Hi: I am trying to figure out how to use libudev to monitor for new iSCSI boot targets. For Emulex CNA cards, a new directory gets created of the form /sys/firmware/iscsi_bootN. I am new to libudev, but it looks like it's set up to monitor for new devices. Can I use it to monitor for non-device

Re: [systemd-devel] How to use libudev to monitor for /sys/firmware/iscsi_boot*?

2014-12-05 Thread Greg KH
On Fri, Dec 05, 2014 at 11:51:16AM -0800, Lee Duncan wrote: Hi: I am trying to figure out how to use libudev to monitor for new iSCSI boot targets. For Emulex CNA cards, a new directory gets created of the form /sys/firmware/iscsi_bootN. Really? That's horrid, what kernel driver is

Re: [systemd-devel] How to use libudev to monitor for /sys/firmware/iscsi_boot*?

2014-12-05 Thread Lee Duncan
On 12/05/2014 01:14 PM, Greg KH wrote: On Fri, Dec 05, 2014 at 11:51:16AM -0800, Lee Duncan wrote: Hi: I am trying to figure out how to use libudev to monitor for new iSCSI boot targets. For Emulex CNA cards, a new directory gets created of the form /sys/firmware/iscsi_bootN. Really?

Re: [systemd-devel] How to use libudev to monitor for /sys/firmware/iscsi_boot*?

2014-12-05 Thread Greg KH
On Fri, Dec 05, 2014 at 01:42:29PM -0800, Lee Duncan wrote: On 12/05/2014 01:14 PM, Greg KH wrote: On Fri, Dec 05, 2014 at 11:51:16AM -0800, Lee Duncan wrote: Hi: I am trying to figure out how to use libudev to monitor for new iSCSI boot targets. For Emulex CNA cards, a new