[Buildroot] Strange behavior with shell redirection

Michael S. Zick minimod at morethan.org
Fri Dec 18 20:31:34 UTC 2009


On Fri December 18 2009, Cyril HAENEL wrote:
> 
> > In the default Buildroot target skeleton, /var/log is a symbolic link
> > to /tmp, and /tmp is mounted as a tmpfs (the contents of the filesystem
> > are stored into memory).
> >
> > So with the default Buildroot configuration, the contents of /var/log
> > (and many other /var directories) are lost when you reboot.
> >
> > Cheers,
> >
> > Thomas
> >   
> Yesss ! Thank, It is the problem ! Thus it's a big problem because what 
> will be the result when the memory will be full !?
> 

tmpFS uses swap as its backing store.  How much swap do you have?  By
default tmpFS will only use 50% of it.

Also, you can limit the amount of ram used by tmpFS on the mount command and/or fstab.

Mike
> Regards,
> Cyril
> 





More information about the buildroot mailing list