Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2001 20:08:28 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        Child <child@child.net.au>
Cc:        questions@FreeBSD.ORG
Subject:   Re: deleted /dev/null by mistake
Message-ID:  <Pine.BSF.4.21.0107152008080.61534-100000@ren.sasknow.com>
In-Reply-To: <5.0.0.25.0.20010716120202.00a07eb0@mx.child.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Child wrote to questions@FreeBSD.ORG:

> hi all
> one of my shell scripts did an rm -f /dev/null

Don't do that ;-)


> just wondering how I recreate it


As root, of course:

rm null; mknod null c 2 2; chmod 666 null


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

-- 
  Ryan Thompson <ryan@sasknow.com>
  Network Administrator, Accounts

  SaskNow Technologies - http://www.sasknow.com
  #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2

        Tel: 306-664-3600   Fax: 306-664-1161   Saskatoon
  Toll-Free: 877-727-5669     (877-SASKNOW)     North America


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?Pine.BSF.4.21.0107152008080.61534-100000>