1
0

media-change.hotplug 203 B

12345678
  1. [ -n "$DISK_MEDIA_CHANGE" ] && /sbin/block info
  2. if [ "$ACTION" = "add" -a "$DEVTYPE" = "disk" ]; then
  3. case "$DEVNAME" in
  4. mtd*) : ;;
  5. *) echo 2000 > /sys/block/$DEVNAME/events_poll_msecs ;;
  6. esac
  7. fi