kbo@intersolve.com wrote: > > Hey, > > During a late night user account maintence session, a admin here used the > "removeuser' > script on a osf1 V3.2 alpha machine. Low and behold one of the accounts was > set to have > the root directory as it's home directory. And when the admin answered yes > to remove > the users files and directories, this script went off to perform the > command.. > > rm -f / > > Yikes! Weird thing is the machine is still up and running. It looks like the > whole file > system is still intact "/bin /sbin /usr/sbin /etc /usr .." expect the > devices directory is > completely gone. I've never seen anything like this. > > Before we go and scrub the disk and reload the operating system.. I was > hoping > someone out here could send me a listing of thier /dev directory. It may be > possible > to mknod the needed devices. > > ls -l /dev > > Any help would be appreciated > > Ken Jones > kbo@intersolve.com Attachment 1: ls -alu /dev on OSF/1 3.2 214 (3.2C) You don't need to mknod explicitely most of the device specials. Just use the MAKEDEV script (Attachment 2): # cd /dev # ./MAKEDEV std # this will generate most of the basic specials # ./MAKEDEV PTY_1 # pseudo terminals # ./MAKEDEV rzxx # (the disks...) Hope this helps. /knut -- +----------------------------------------------+ | Knut Vietze, vietze@theory.phy.tu-dresden.de | | vietze@iws.fhg.de | | | | No RISC - No Fun ! | +----------------------------------------------+