If you've somehow messed up /dev/null, here are procedures you can do to mend it...
1. Recreate the soft link "/dev/null"
You probably have access to root to have messed-up /dev/null so as root re-create the softlink:
#devlinks
2. If you have messed up the original device in /devices
mknod /devices/pseudo/mm@0:null c 13 2
chown root:sys /devices/pseudo/mm@0:null
chmod 666 /devices/pseudo/mm@0:null
cd /dev
ln -s ../devices/pseudo/mm@0:null null
Tuesday, April 28, 2009
recreate /dev/null
Labels:
Tips n Tricks,
UNIX
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment