X-Git-Url: http://gitweb/?a=blobdiff_plain;f=eudev%2Fstart_udev;h=e9048859997cb62beba7c58c102d7cf2d9d541b0;hb=c3125ac24f54c9e5b1c05cf93f65ad1ef914c74d;hp=03391841726b89cc01ac94b6ba6480f7e31a8470;hpb=dda3fa49b5ae606f13f2ab7b8a4430a0ede18521;p=crossrootfs.git diff --git a/eudev/start_udev b/eudev/start_udev index 0339184..e904885 100644 --- a/eudev/start_udev +++ b/eudev/start_udev @@ -8,17 +8,14 @@ UDEVOPTS="exec,nosuid,noatime,mode=0755,nr_blocks=2048,nr_inodes=16384" if /bin/mountpoint -q /dev ; then - /bin/mount -n -o remount,${UDEVOPTS} dev /dev + /bin/mount -n -o remount,${UDEVOPTS} dev /dev else - /bin/mount -n -t devtmpfs -o ${UDEVOPTS} dev /dev + /bin/mount -n -t devtmpfs -o ${UDEVOPTS} dev /dev fi # mount /run directory /bin/mount -n -t tmpfs -o mode=0755,nosuid,nodev,exec tmpfs /run -# make sure hotplugger is not set -echo > /proc/sys/kernel/hotplug - # copy devcies from /lib/udev/devices cp -ar /lib/udev/devices/* /dev @@ -29,3 +26,4 @@ test -z "$(/bin/pidof -s udevd)" && /sbin/udevd --daemon /sbin/udevadm trigger --type=subsystems --action=add /sbin/udevadm trigger --type=devices --action=add /sbin/udevadm settle +