lkml.org 
[lkml]   [2004]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ANNOUNCE] udev 021 release
Greg KH wrote:
> On Thu, Mar 11, 2004 at 12:17:12AM +0100, Prakash K. Cheemplavam wrote:
>
>>Greg KH wrote:
>>
>>>On Wed, Mar 10, 2004 at 01:56:37PM +0100, Prakash K. Cheemplavam wrote:
>>>
>>>>I have a problem with udev and my ZIP drive (using latest mm based
>>>>kernel):
>>>>
>>>>When I insert a zip the /dev for the partition doesn't get created (ie
>>>>hdd4, fdisk shows it though).
>
> See the manpage for udev and look at the NAME{all_partitions} section.
>

Well, I tried several variatons of following rule:

SYSFS{dev}="22:64", KERNEL="hdd", NAME{all_partitions}="hdd%n"

But no partitions popped up. I searched a bit in lkml and some time ago,
there was a thread about a jaz drive with the same problem. It rather
seems udev doesn't see the partitions appearing or I do something wrong.

For the time being I just put this into my local.start:

mknod -m 660 /dev/hdd4 b 22 68
chown root:disk hdd4

If you are sure udev should hanlde it, it would be nice if you kick me a
bit further into the right direction...

Prakash

PS:udevinfo -a -p /sys/block/hdd/

udevinfo starts with the device the node belongs to and then walks up the
device chain to print for every device found all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used in a rule to match the
device for which the node will be created.

device '/sys/block/hdd' has major:minor 22:64
looking at class device '/sys/block/hdd':
SYSFS{dev}="22:64"
SYSFS{range}="64"
SYSFS{size}="196608"
SYSFS{stat}=" 35 0 42 747 0 0
0 0 0 747 747"

follow the class device's "device"
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:09.0/ide1/1.1':
BUS="ide"
ID="1.1"
SYSFS{detach_state}="0"

looking at the device chain at
'/sys/devices/pci0000:00/0000:00:09.0/ide1':
BUS=""
ID="ide1"
SYSFS{detach_state}="0"

looking at the device chain at '/sys/devices/pci0000:00/0000:00:09.0':
BUS="pci"
ID="0000:00:09.0"
SYSFS{detach_state}="0"
SYSFS{vendor}="0x10de"
SYSFS{device}="0x0065"
SYSFS{subsystem_vendor}="0x147b"
SYSFS{subsystem_device}="0x1c00"
SYSFS{class}="0x01018a"
SYSFS{irq}="0"

looking at the device chain at '/sys/devices/pci0000:00':
BUS=""
ID="pci0000:00"
SYSFS{detach_state}="0"

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

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.144 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site