On Wednesday 07 September 2011 3:33:10 pm jacques wrote: > Hi, > > by error most of the binaries in /usr are erased (killing rm :-( > > The server is still up. > Most of the services are restarted either by copying (rsync) > the binaries from another squeeze server (both are running Squeeze) > or desinstalling/installing packages. (apt-* dpkg and suite are restored > and runing ok) > > Now the the question is : will this machine *reboot* properly, > inclufing the network ?
I know that my suggestion does not answer your question, but: Two suggestion: 1. alias "rm" to "rm -i" to add a rm: remove regular file `filename' ? to give the user a moment to think for each file. 2. mount /usr as read only Neither suggestion is 100% foolproof, but they both will help. Mark -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109100825.01109.m...@neidorff.com