lkml.org 
[lkml]   [2003]   [Dec]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: udev LABEL not working: sysfs_path_is_file: stat() failed
FromScott James Remnant <>
DateSun, 28 Dec 2003 09:11:58 +0000
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?

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 12:59    [from the cache]
©2003-2008