Date: Thu, 27 Dec 2001 21:03:56 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: "Alan P. Laudicina" <alanp@boredom.org> Cc: Ty Purcell <purcell@crcom.net>, <freebsd-questions@FreeBSD.ORG> Subject: Re: /dev/null Message-ID: <20011227210156.W21746-100000@catalyst.sasknow.net> In-Reply-To: <20011227203700.B3117@boredom.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <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?20011227210156.W21746-100000>