Regarding udevadm

Rahul Bedarkar rpal143 at gmail.com
Thu Oct 18 10:44:12 EDT 2012


Hi,

I am using udevadm info to get information about connected block devices.

I have attached usb device and disabled auto mounting of it. I can see
kernel logs that device is added and node is created.

But when I use udevadm info --export-db, I can't see device info of
/dev/sdb1

If I use udevadm monitor --kernel to monitor kernel udev events, I can see

KERNEL[1419.590316] remove   /block/sdb/sdb1 (block)
KERNEL[1419.622381] remove   /block/sdb (block)
KERNEL[1430.528523] add      /block/sdb (block)
KERNEL[1430.564808] add      /block/sdb/sdb1 (block)

Why /dev/sdb1 is not getting displayed in case udevadm info ?


Thanks,
Rahul B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121018/03cd2de2/attachment.html 


More information about the Kernelnewbies mailing list