Re: udev LABEL not working: sysfs_path_is_file: stat() failed

From: Scott James Remnant
Date: Sun Dec 28 2003 - 04:25:17 EST


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:
> >
> > > 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?
> > >
> > > Do you have a partition show up in /sys/block? If not, then udev will
> > > not create it. It works here for my usb-storage devices that have
> > > partitions on them.
> > >
> > Yes, /dev/block/sdb/sdb1 certainly does appear, as does /udev/sdb1 --
> > the LABEL rule only seems to match "sdb" though.
>
> That's odd, what is the rule? They should both match.
>
Had omitted the %n in the NAME, so only the disk was showing up.
udev-011 fixes the original problem too, thanks.

Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part