System Repair

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK, i did a stupid thing while hurriedly cleaning up the filesystem.
Apparently i 
must have forgotten a > when i cat'd something to /dev/null and now the box
is royally
messed up. When i comes up it complains of course, and wants the filesystem
repaired.
I drop to a unix shell and all partitions come back clean with fsck.ext3,
however, 
/dev/null is still a file with perms of -rw-r--r-- and i cannot figure out
how to repair
this. 

First, how can i change null to be a, i believe, character device with
correct perms (i.e. crw-rw-rw), And secondly, how can i do this on a
read-only file system. The box boots with
grub so i am not sure how to bring it up in single user mode, even tho i
believe that 
would fail anyway, same reasons as above

Does anyone have any real quick advice and suggestions on how to get this
box back up??

MANY MANY thanks in advance
Michael Weiner



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux