syslogd running on cramfs root

Jason Schoon floydpink at gmail.com
Wed Nov 15 18:38:09 UTC 2006


On 11/15/06, T Michael Turney <tmike at recipes4linux.com> wrote:
>
>
> 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
>

Create a symlink of /dev/log to something like /tmp/.log out in a ram
filesystem?  That's what we have done in the past.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20061115/676a5692/attachment.htm 


More information about the busybox mailing list