Re: cold-plugged usb flash drive not handled correctly in embedded system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 20, 2010 at 04:51:44PM +0200, Kay Sievers wrote:
> 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? :)

sorry, I should have made this clear: there is no built-in sd*
device, all internal filesystems reside in UBIFS.
(But I agree that I should make a real mount script for the
release version, just in case somebody comes up with an USB
hub or a multi card reader. ;-) )

Regards,
Wolfgang

--
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


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux