Missing /dev/null after few min

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Thu Mar 20 09:32:03 PDT 2008

"Matthias Gamsjäger" <mgamsjager at gmail.com> writes:

> I'm running freebsd for couple of years now and never had really big
> problems but this one I can't solve on my own. Running releng 7 for 6 months
> now but recently after running X for like 10min the systems is missing
> /dev/null. So you can imaging that most programs start complaining about it.
> Right now I recreate it with mknod /dev/null c 1 3 but that's not a real
> solution because it starts to disappear again after few minutes.
> I'm for 99% sure it's not freebsd problem but more a application problem but
> I wonder if anyone ran into the same trouble after upgrading xyz port? Or
> even better has a solution for it?

Yep, something is deleting it.
Something with permissions to delete it, which shouldn't be many
things. First make sure that it has the correct permissions, then
check what's running as root.

You might be able to find a process that has a file handle open on
/dev/null or even on /dev itself, but I'd consider that a long shot.

More information about the freebsd-questions mailing list