From mboxrd@z Thu Jan 1 00:00:00 1970 From: xsdg Date: Wed, 17 Mar 2004 02:14:53 +0000 Subject: renaming causes incorrect device creation Message-Id: <20040317021453.GA13348@perl.xsdg.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="zhXaljGHf11kAtnf" List-Id: To: linux-hotplug@vger.kernel.org --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Normally, when I plug in my camera, I see (in /udev/): brw------- 1 root root 8, 0 2004-03-17 01:53 sda brw------- 1 root root 8, 1 2004-03-17 01:53 sda1 I then add to udev.rules: BUS=3D3D"scsi", SYSFS{model}=3D3D"Sony DSC ", NAME=3D3D"removable/ca= mera%n" after adding, I see: brw------- 1 root root 8, 0 2004-03-17 01:55 camera crw------- 1 root root 21, 1 2004-03-17 01:55 camera1 I'm starting off with the default installed udev.rules. This also occurs w= hen I try to get my key drive going with: BUS=3D3D"scsi", SYSFS{vendor}=3D3D"LEXAR ", SYSFS{model}=3D3D"JUMPDRIVE P= RO ", NAME=3D3D"removable/jdrive%n" brw------- 1 root root 8, 16 2004-03-17 01:31 jdrive crw------- 1 root root 21, 2 2004-03-17 01:31 jdrive2 Also note that jdrive2 should not exist; only disc and generic exist in dev= fs,=20 and I set the drive up _without_ partitioning (mkfs.vfat /udev/sda) --=20 | If you have to do something wrong to get what you | | want, it's really not worth having. | ) http://www.cuodan.net/~xsdg/ xsdg@freenode.org ( --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAV7SdLa8oArNOsUERAu2TAJ9W6Umj1pKT/1v5QUV03WjYZuHY1ACeLa/m EajspX924Zw7AhesIQNjteA= =0DfJ -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel