From owner-freebsd-questions Sun Jul 15 19: 8:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 845C837B40A for ; Sun, 15 Jul 2001 19:08:35 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id UAA36345; Sun, 15 Jul 2001 20:08:28 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sun, 15 Jul 2001 20:08:28 -0600 (CST) From: Ryan Thompson To: Child Cc: questions@FreeBSD.ORG Subject: Re: deleted /dev/null by mistake In-Reply-To: <5.0.0.25.0.20010716120202.00a07eb0@mx.child.net.au> Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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