Am I a Bonehead or what? (# rm /dev)

Kevin J. Cummings cummings at kjchome.homeip.net
Fri Aug 29 02:12:57 UTC 2008


Mike McCarty wrote:
> Mikkel L. Ellertson wrote:
>> Mike McCarty wrote:
>>> Mike McCarty wrote:
>>>
>>> [deleted /dev]
>>>
>> What version of Fedora? With any version with udev, there is the
> 
> No, no udev. This is FC2.

do the following:

rpm -qf /dev

This should tell you the name of the RPM which "owns" dev.  You can then 
re-install it (if you have it).  You can probably find it using 
rpm.pbone.net if you have to.  I'm pretty sure that the script named 
MAKEDEV or MAKEDEVS is what actually generates the devices in /dev/

> The rest of your commentary seems directed at the presence of
> udev, which I don't have.
> 
> Sometimes I have to mount it as /dev/sda1 and sometimes as
> /dev/sde1, and the latter didn't exist
> 
> Based on what I saw there, I did
> 
> # mknod -m 660 sde b 8 64
> 
> And now
> 
> # ls -l sd*
> brw-rw----  1 root named 8,  0 Aug 28 17:30 sda
> brw-rw----  1 root named 8, 16 Aug 28 17:30 sdb
> brw-rw----  1 root named 8, 32 Aug 28 17:30 sdc
> brw-rw----  1 root named 8, 48 Aug 28 17:30 sdd
> brw-rw----  1 root named 8, 64 Aug 28 20:38 sde
> 
> But still no joy. Need my printer back, too.
> 
> Mike


-- 
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)




More information about the fedora-list mailing list