Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2001 10:02:46 -0300
From:      =?iso-8859-1?Q?Lu=EDs=20Vit=F3rio?= Cargnini <cargnini@cpad.pucrs.br>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: deleted /dev/null by mistake
Message-ID:  <3B52E5F6.BF2CACF2@cpad.pucrs.br>

next in thread | raw e-mail | index | archive | help
inside /dev/ exist an script MAKEDEV
use
sh MAKEDEV null
and them him must recreate all you r dev null's
or
use mknod -b major minor
Child wrote:

> hi all
> one of my shell scripts did an rm -f /dev/null
>
> just wondering how I recreate it
>
> thanks!
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B52E5F6.BF2CACF2>