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

From: Greg KH
Date: Tue Dec 23 2003 - 17:20:10 EST


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.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/