Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

weird /dev/null issue

Status
Not open for further replies.

verland

MIS
Apr 24, 2002
138
US
Ok, don't ask me how this happened but somehow /dev/null got replaced with a flat text file. The text contained something like "Cannot stop apache (281) no such process". So needless to say, I can't copy files to /dev/null and a lot of things don't work right.

I deleted the file but is there some way to recreate the files of the dev directory? Thanks!
 
ok, I went to dev, did a
sudo ./MAKEDEV std

That seems to have done it. Probably extraneous since all I needed was null, but things seem ok now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top