Jean-Francois wrote:
> All,
> 
> I just forget the dot !! in the 'rm -r ./dev' so I have no /dev anymore
> on my server box.
> One can tell me if this is possible to backup the system without freshh
> install ?
> This is a i386 4.4 OpenBSD. One could eventually send me a way or
> another the full /dev in case this option actually works ?
> 
> Thanks
> JF
> 

Assuming that you haven't rebooted the box yet, you have a terminal
open, and you either have a copy of the /dev/MAKEDEV script or have the
source on the system, you should be able to recover without much trouble.

All the device nodes in /dev are created with the MAKEDEV script.  To
recreate them, all you need to do is copy the MAKEDEV script back into
the /dev directory and run the following command.

# sh MAKEDEV all

Tim Donahue

Reply via email to