From: Ming Liu <liu.ming50@gmail.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: Ming Liu <peter.x.liu@external.atlascopco.com>,
OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v1] initscripts: do not save timestamp for readonly system
Date: Mon, 23 Nov 2015 22:43:36 +0100 [thread overview]
Message-ID: <56538888.3060200@gmail.com> (raw)
In-Reply-To: <CAJTo0LZOKv0S2-JAb_6goEt6OUetxyB3C24FZpVQyv+RKExTEQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
On 11/23/2015 10:18 PM, Burton, Ross wrote:
>
> On 23 November 2015 at 09:42, Ming Liu <liu.ming50@gmail.com
> <mailto:liu.ming50@gmail.com>> wrote:
>
> +[ -w /etc/timestamp ] && date -u +%4Y%2m%2d%2H%2M%2S > /etc/timestamp
>
>
> This would fail if /etc/timestamp doesn't already exist. I'm tempted
> to say you should just 2>/dev/null so it tries and the error is hidden
> in case /etc/timestamp is deleted on a writable file system.
Yes, that is true! I did not consider that case, then I will send a V2 soon.
//Ming Liu
>
> Ross
[-- Attachment #2: Type: text/html, Size: 1958 bytes --]
prev parent reply other threads:[~2015-11-23 21:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 9:42 [PATCH v1] initscripts: do not save timestamp for readonly system Ming Liu
2015-11-23 21:18 ` Burton, Ross
2015-11-23 21:43 ` Ming Liu [this message]
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=56538888.3060200@gmail.com \
--to=liu.ming50@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.x.liu@external.atlascopco.com \
--cc=ross.burton@intel.com \
/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