Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93225 - udev fails to provide symlink /dev/discs/disc0/{disc,partX} to ../../{sda,sdaX} for SATA disks but does for IDE disks
Summary: udev fails to provide symlink /dev/discs/disc0/{disc,partX} to ../../{sda,sda...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-19 08:14 UTC by Roland Nagtegaal
Modified: 2005-06-30 16:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Nagtegaal 2005-05-19 08:14:47 UTC
/etc/conf.d/rc -> RC_DEVICE_TARBALL="no"
In a network with 60 gentoo machines, and all the same partitioning, some are
SATA and most are IDE. So I want all the same lines in /etc/fstab like this:
/dev/discs/disc0/part8   /usr reiserfs  defaults        0 0

Only: this works on IDE systems, because the symlink /dev/discs/disc0/part8 ->
../../hda8 will be created, but on SATA systems it will not. 

For IDE the (correct) behaviour can be traced to the script
/etc/udev/scripts/ide-devfs.sh but in /etc/udev/scripts/scsi-devfs.sh their
seems to be no similar solution, or it may be broken. I don't really understand
those scripts yet.


Reproducible: Always
Steps to Reproduce:
1.On an SATA system, remove contents of /dev/, and reboot
2.do ls -al /dev/discs; it will not exist.
3.do ls -al /dev/sda*; those will exist

Actual Results:  
/dev/discs did not appear on SATA systems, but did on IDE systems

Expected Results:  
/dev/discs/disc0/ should have been populated with symlinks pointing to the right
device files (../../sdaX in SATA case, similar to ../../hdaX with IDE)
This means that one of the intended uses of udev does not work. In network
install, I loose a lot of generality that way, forcing me to keep all /etc/fstab
apart for all machines, while they could have been the same. Probably trivial fix.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-19 08:21:07 UTC
I already notices this in Bug 92029, Comment #2
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-06-30 16:17:14 UTC
Ok, if you can come up with a fix, please let me know.

Otherwise, I'm going to mark this as CANTFIX, as I don't know how to do it.