Date: Thu, 27 Dec 2001 18:19:19 -0800 (PST) From: Thomas Cannon <tcannon@noops.org> To: Ty Purcell <purcell@crcom.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: /dev/null Message-ID: <20011227181704.C479-100000@stereophonic.noops.org> In-Reply-To: <3C2BD195.8090200@crcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
You can use /dev/MAKEDEV (As was already posted), or just do it by hand with: cd /dev ; mknod dev c 2 2 root:wheel ; chmod 666 dev MAKEDEV is easier, but knowing how to do it manually might not be bad to know. -tcannon On Thu, 27 Dec 2001, 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 > > I tried a reboot, and that replaced it, but > the permissions are wrong, and it is adding files > in instead of throwing them away... > > Thanks. > > Ty Purcell > > > 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?20011227181704.C479-100000>