From: Kay Sievers Date: Thu, 28 May 2009 12:11:54 +0000 Subject: Re: udev rule for usb drive Message-Id: List-Id: References: <3086014.76281243509945540.JavaMail.root@zimbra.imunixx.de> In-Reply-To: <3086014.76281243509945540.JavaMail.root@zimbra.imunixx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org On Thu, May 28, 2009 at 13:25, Mike Mildner wrote: > thats the device and i try some houres around this rule: > > SUBSYSTEMS="usb", KERNEL="sd??", ATTRS{serial}="SAMSUNG HDS0MUJ1NQA49906      ", SYMLINK+="usbplatte%n" > > what is the trick? after every change on this rule i used 'udevcontrol reload_rules' but /dev dosen't show the device 'usbplatte'? --reload-rules does nothing on any usual system, it just reparses the rules, which is not needed, because udevd detects changes itself. You have to re-connect the device to get the rules applied. Also replace the KERNEL="sd??", which will never match on the disk itself, only on partition 1-9 with "sd*", or just use SUBSYSTEM="block". Kay