Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
refs/heads/YUNDONG_BASE1.0
/
.
/
package
/
system
/
fstools
/
files
/
media-change.hotplug
blob: 30fc3d5c4faeefb1877a313c0febb4085491f38b [
file
] [
log
] [
blame
]
[
-
n
"$DISK_MEDIA_CHANGE"
]
&&
/sbin/
block info
if
[
"$ACTION"
=
"add"
-
a
"$DEVTYPE"
=
"disk"
];
then
case
"$DEVNAME"
in
mtd
*)
:
;;
*)
echo
2000
>
/sys/
block
/
$DEVNAME
/
events_poll_msecs
;;
esac
fi