Dear all: I use mdev to handle hotplug event under linux. it runs fine when I plug/unplug usb flash. But it has some problem when I plug/unplug usb HD. Below are my partions I get when I plug my USB HD.
# cat /proc/partitions major minor #blocks name 8 0 1972224 sda 8 1 1970546 sda1 8 16 156290904 sdb 8 17 1 sdb1 8 21 156280288 sdb5 # and below is my mdev.conf sd[a-zA-Z][0-9]+ 0:0 0660 * /usr/bin/autoscript.sh $MDEV $LABEL As you can see, mdev will pass sdb1 to /usr/bin/autoscript.sh for mounting. But the partion cannot be mount.( from the information in /proc/partitions, it seems some place for data saving.) My question is: can we get any attributes, like file formats or partition information from kernel such that mdev can choose whether it can pass the partition to scripts that described in mdev.conf. appreciate your help, miloody _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox