HOWTO Recreate /dev/null
If something happens that requires you to recreate /dev/null on your *nix system. Don’t fret, it’s easy. The most recent issue I had was that a Capistrano recipe inadvertently clobbered /dev/null. The file looked like this: 12[root@web1 ~]# ls -l /dev/null -rw-r--r-- 1 capistrano engineering 0 May 26 04:02 /dev/null Thankfully to bring it back …
By eric