Surviving /dev/null disappearance
infofarmer at FreeBSD.org
Wed Apr 4 08:51:13 UTC 2007
On 4/3/07, Maxim Sobolev <sobomax at freebsd.org> wrote:
> Patch ld(1) to detect the condition and don't unlink the device node?
Yes, but there has to be a generic solution, so that
we don't reinvent the wheel for every one of the
thousands apps that may do this.
Isn't there some safety-net wrapper function that
refuses to remove device nodes and maybe some other
types of files?
More information about the freebsd-current