From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Strange behavior with shell redirection
Date: Fri, 18 Dec 2009 19:03:54 +0100 [thread overview]
Message-ID: <20091218190354.5302ccfe@surf> (raw)
In-Reply-To: <4B2B7141.90804@free.fr>
Hello,
Le Fri, 18 Dec 2009 13:10:41 +0100,
Cyril HAENEL <chaenel@free.fr> a ?crit :
> ./potentiostatApplication >> /var/log/potentiostat
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
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2009-12-18 18:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-18 12:10 [Buildroot] Strange behavior with shell redirection Cyril HAENEL
2009-12-18 12:30 ` Michael S. Zick
2009-12-18 13:37 ` Cyril HAENEL
2009-12-18 14:19 ` Michael S. Zick
2009-12-18 18:03 ` Thomas Petazzoni [this message]
2009-12-18 19:30 ` Cyril HAENEL
2009-12-18 20:31 ` Michael S. Zick
2009-12-18 23:13 ` Cyril HAENEL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091218190354.5302ccfe@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox