From owner-freebsd-questions Thu Dec 27 19: 4:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from catalyst.sasknow.net (catalyst.sasknow.net [207.195.92.130]) by hub.freebsd.org (Postfix) with ESMTP id 1351737B405 for ; Thu, 27 Dec 2001 19:04:08 -0800 (PST) Received: from localhost (ryan@localhost) by catalyst.sasknow.net (8.11.6/8.11.6) with ESMTP id fBS33uC25082; Thu, 27 Dec 2001 21:03:56 -0600 (CST) (envelope-from ryan@sasknow.com) X-Authentication-Warning: catalyst.sasknow.net: ryan owned process doing -bs Date: Thu, 27 Dec 2001 21:03:56 -0600 (CST) From: Ryan Thompson X-X-Sender: To: "Alan P. Laudicina" Cc: Ty Purcell , Subject: Re: /dev/null In-Reply-To: <20011227203700.B3117@boredom.org> Message-ID: <20011227210156.W21746-100000@catalyst.sasknow.net> 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 Alan P. Laudicina wrote to Ty Purcell: > On Thu, Dec 27, 2001 at 07:57:41PM -0600, Ty Purcell wrote: > > > > Somehow I have written over /dev/null... > > > > How can I restore it to how it was? > > > > On my other bsd box it has the permissions > > > > crw-rw-rw > > cd /dev ; ./MAKEDEV null There is no "null" case in FreeBSD's MAKEDEV. The above command won't work. ./MAKEDEV std will remake null, mem, kmem, random, etc Someone else pointed out the use of mknod, which is a good idea in this case. - Ryan -- 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