From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott James Remnant Date: Sun, 28 Dec 2003 09:11:58 +0000 Subject: Re: udev LABEL not working: sysfs_path_is_file: stat() failed MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-xdRL0aq7UbkUwGiDTyxz" Message-Id: List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org --=-xdRL0aq7UbkUwGiDTyxz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-12-23 at 22:13, Greg KH wrote: > On Tue, Dec 23, 2003 at 07:29:07AM +0000, Scott James Remnant wrote: > > On Mon, 2003-12-22 at 20:40, Greg KH wrote: > >=20 > > > On Mon, Dec 22, 2003 at 10:58:45AM +0000, Scott James Remnant wrote: > > > > One question though, it only ever seems to create a device for the > > > > actual usb-storage disk and not the partition. Is there some magic= to > > > > create the partition device instead? > > >=20 > > > Do you have a partition show up in /sys/block? If not, then udev wil= l > > > not create it. It works here for my usb-storage devices that have > > > partitions on them. > > >=20 > > Yes, /dev/block/sdb/sdb1 certainly does appear, as does /udev/sdb1 -- > > the LABEL rule only seems to match "sdb" though. >=20 > That's odd, what is the rule? They should both match. >=20 Had omitted the %n in the NAME, so only the disk was showing up.=20 udev-011 fixes the original problem too, thanks. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-xdRL0aq7UbkUwGiDTyxz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/7p5dIexP3IStZ2wRArZuAJ40fcV2DafdVyIk7zJlcVIGgI+HcQCguDdB DI1ztrhGMYIoz+WY8IbEttk= =XoEa -----END PGP SIGNATURE----- --=-xdRL0aq7UbkUwGiDTyxz-- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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