1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

udev: improved mount.sh

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5025 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2008-08-08 07:41:48 +00:00
parent 29346602b4
commit 9c65649134
6 changed files with 7 additions and 19 deletions
@@ -1,6 +1,3 @@
# This is a grep pattern matched against the device name
# Any matched pattern will _not_ be mounted / removed by udevd
/dev/mtdblock
/dev/loop
/dev/ram
/dev/ram
@@ -1,6 +1,3 @@
# This is a grep pattern matched against the device name
# Any matched pattern will _not_ be mounted / removed by udevd
/dev/mtdblock
/dev/loop
/dev/ram
/dev/ram
+2 -2
View File
@@ -9,9 +9,9 @@ MOUNT="/bin/mount"
PMOUNT="/usr/bin/pmount"
UMOUNT="/bin/umount"
for line in `grep -v ^# /etc/udev/mount.blacklist`
for line in `cat /etc/udev/mount.blacklist`
do
if { echo "$DEVNAME" | grep -q "$line" ; }
if [ ` expr match "$DEVNAME" "$line" ` -gt 0 ];
then
logger "udev/mount.sh" "[$DEVNAME] is blacklisted, ignoring"
exit 0
@@ -1,7 +1,4 @@
# This is a grep pattern matched against the device name
# Any matched pattern will _not_ be mounted / removed by udevd
/dev/mtdblock
/dev/hda
/dev/loop
/dev/ram
/dev/ram
@@ -1,6 +1,3 @@
# This is a grep pattern matched against the device name
# Any matched pattern will _not_ be mounted / removed by udevd
/dev/mtdblock
/dev/loop
/dev/ram
/dev/ram
+1 -1
View File
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
RPROVIDES_${PN} = "hotplug"
PR = "r5"
PR = "r6"
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \