Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did something like that in some code in a from-scratch embedded Linux distro, maybe nine years ago:

  rm -rf $MISPELED_ROOT_DIR/lib/
Oops, the script didn't have "set -u", and I happened to run that as root. So, /lib directory gone.

I managed to recover that machine by copying libs from another one running the same distro.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: