On Fri, Aug 20, 2010 at 16:42, Wolfgang Wegner <ww-ml@xxxxxx> wrote: > /etc/udev/rules.d/50-udev.rules: > ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,flush,quiet,nodev,nosuid,exec,noatime,dmask=000,fmask=111 /dev/%k /mnt/usbdisk", OPTIONS="last_rule" udev 161 has no "last_rule" thing anymore. You mount all devices, the possibly built-in ,and the plugged-in devices at the same place? :) > It does not matter if I leave the standard rules in > /libexec/rules.d/ or if I remove them altogether, in either > case the USB flash drive is correctly mounted when plugged > into the running system but not when it is already present when > the system boots up. The event for the device happens during early boot where you have no chance to mount. Do you run 'udevadm trigger' at bootup? It will re-generate all events so that they can be handled when userspace is running. It would need --action=add for your current rule to match. Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html