Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2007 13:16:41 +0400
From:      "Andrew Pantyukhin" <infofarmer@FreeBSD.org>
To:        "FreeBSD Current" <current@freebsd.org>
Subject:   Surviving /dev/null disappearance
Message-ID:  <cb5206420704030216r44243573h7981c1e35ef7225@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
While porting mtpaint I stumbled upon a hacked up
configure script which has a test like this:

ld -o /dev/null <some libs>

If you run this under root the net result is you
don't have /dev/null anymore.

I fixed the configure script, writing to temp files
instead of /dev/null, but the question is, how can
I survive the situation.

Without /dev/null very little works. You can mount
a second devfs over the first one, but half of the
programs running in the background (e.g. wmii) are
still freaked out bad.

So is there a way to revive the system without a
reboot? (hint: /etc/rc.d/dev* scripts refuse to
work without /dev/null)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420704030216r44243573h7981c1e35ef7225>