Re: /dev/null anlegen

From: Bernd Walter <ticso(at)cicely12.cicely.de>
Date: Fri, 30 Mar 2007 12:17:34 +0200

On Fri, Mar 30, 2007 at 12:05:28PM +0200, Harald Klatte wrote:
> On Fri, 30 Mar 2007, Marian Hettwer wrote:
>
> ...
> > Egal: Wie bekomme ich /dev/null ohne reboot zurÃ?ck?
> ...
>
> mit mknod /dev/null c 2 2 root:wheel
> und chmod 666 /dev/null

Den Aufwand mit root:wheel und chmod kannst du dir ersparen.
Der systemcall ist nur ein Trigger für devfs und der kommt automatisch
mit den normalen defaults zurück.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd(at)bwct.de           info(at)bwct.de            support(at)fizon.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 30 Mar 2007 - 12:19:07 CEST

search this site