syslogd running on cramfs root

T Michael Turney tmike at recipes4linux.com
Wed Nov 15 09:22:19 PST 2006


Hi folks,
My apologies if this is in the archives, I looked and
didn't find a hit.

Problem:
We have an embedded system with a relatively small
root filesystem (cramfs), the bulk of which are busybox commands.

We want to start using syslogd, which seems to want to
use /dev/log as the socket to communicate with.

/dev is on cramfs, so it is read-only.

If we make the root filesystem with /dev/log already
created as a socket, syslogd errors out with the
"Address in use" errno.

The only solution we have come up with is to modify _PATH_LOG
and point it to /tmp/log or something like this.

We are wondering how other folks with a cramfs root filesystem
have solved this problem.
Cheers,
T.mike


More information about the busybox mailing list