Skip to contentSkip to conversation

udev 23 and 4 primary scsi partitions.

DISCUSSION Greg KH 2 participants 2 messages Mar 28, 2004

lore
Share & tools
lore

Greg KH

author
#0 lore raw
Quoted 4 lines · Vincent van de Camp

Hey Greg,

I not sure if this is a known problem already, I couldn't find anything about known problems in the FAQ. That's why I'm asking you directly:)

How about asking this on the linux-hotplug-devel list, I've added it to the cc: for others to chime in.

Quoted 8 lines

I have a computer with a SCSI harddrive that has four partitions as follows:

/dev/sda1 NTFS
/dev/sda2 Linux /boot
/dev/sda3 Linux swap
/dev/sda4 Linux /

Quoted 8 lines

The device files in the /dev directory are links to /dev/scsi/host0/bus0/target0/lun0/part1-part4

I've recently moved this computer off of devfs to udev-23, but for some reason, a node for /dev/scsi/host0/bus0/target0/lun0/part4 with a link from /dev/sda4 to it is not automatically created. All others (sda1 - sda3) are. I had to create part4 myself and created a link sda4 to it in /dev and it worked.

Is there a /sys/block/sda/sda4 directory in your system?

Quoted 9 lines

As said, I'm not sure if you know about this or not. If you do, then please disregard this message. If not, then if you need more information, feel free to ask:)

FYI: This is the fifth or sixth setup that I've moved from devfsd to udev. I've also done a couple of new installs using 2.6 (including 2.6.x headers), but this was the first computer that caused me problems while moving to udev.

Glad to hear it, but I don't use the devfs script to match the old names, so I might not be much help here.

thanks,

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw

There is a /sys/block/sda/sda4 directory, and this is the first time I hear of the devfs script to match old names. So if I'm using that, it's not intentionally :)

Thanks,
Vincent

Greg KH wrote:
[...]

Quoted 4 lines
Quoted 1 line

Is there a /sys/block/sda/sda4 directory in your system?

[...]

Quoted 4 lines

Glad to hear it, but I don't use the devfs script to match the old names, so I might not be much help here.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel