From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Wegner Date: Fri, 20 Aug 2010 15:19:28 +0000 Subject: Re: cold-plugged usb flash drive not handled correctly in embedded Message-Id: <20100820151928.GF10027@debian-wegner1.datadisplay.de> List-Id: References: <20100820144236.GD10027@debian-wegner1.datadisplay.de> In-Reply-To: <20100820144236.GD10027@debian-wegner1.datadisplay.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Aug 20, 2010 at 04:51:44PM +0200, Kay Sievers wrote: > On Fri, Aug 20, 2010 at 16:42, Wolfgang Wegner 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,dmask0,fmask1 /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