create device

Tony Alfrey tonyalfrey at earthlink.net
Tue Jul 26 14:19:52 PDT 2011


Tony Alfrey wrote:
> Hello;
> 
> Maybe there are Fedora experts here.
> 
> System:
> 
> Athlon
> Windows on IDE drive
> SuSE 9.1 on SATA sda
> Fedora 10 on SATA sdb
> Silicon Image controller for the SATA drives.
> 
> 
> Recently upgraded an old Fedora 6 installation with the Fedora 10.
> 
> Now I want to be able to mount the IDE drive on the Fedora 10.
> I can do this easily on the SuSE 9.1, but for some reason, there is no 
> hda1 in /dev for the IDE drive.  I'm assuming that I need to make a 
> block device.  There is a script /dev/MAKEDEV on Fedora 10 but it wants 
> various parameters for the drive that I do not know about.  How do I go 
> about finding the information needed to make this happen, or is there 
> some automated way to make the drive be visible.  This Fedora 10 
> installation looks /way/ different than the Fedora 6 and frankly, the 
> thing baffles me.
> 
> Thanks
> 
> 


I also found on a KDE manpage that I should use mknod like this

mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b 3 1
chown root:disk /dev/hd*

I suppose that the chown makes root the owner and disk the group for all 
of the partitions (just one) in hda.

And there is also a directory /dev/disk/by-id which seems to have links 
from block devices that appear to be the drives to various partitions on 
the SCSI drives.  I think one is the drive I want, but it is linked to 
sdc, which I don't have (only two SCSI drives).  I assume Fedora 10 did 
this when I installed it.

Any help would be appreciated.




-- 
Tony Alfrey
tonyalfrey at earthlink.net
"I'd Rather Be Sailing"


More information about the Linux-users mailing list