create device

Jerry McBride jmcbride at mail-on.us
Tue Jul 26 16:44:49 PDT 2011


As stated previously.... /dev/hdxx is OLDHAT.... you should be using 
/dev/sdxx, the modern way.


On 07/26/11 17:19, Tony Alfrey wrote:
> 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.
>
>
>
>




More information about the Linux-users mailing list