From: Don Zickus <dzickus@redhat.com>
To: Seiji Aguchi <seiji.aguchi@hds.com>
Cc: "Luck, Tony" <tony.luck@intel.com>,
"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"mikew@google.com" <mikew@google.com>,
"Matthew Garrett (mjg@redhat.com)" <mjg@redhat.com>,
"dle-develop@lists.sourceforge.net"
<dle-develop@lists.sourceforge.net>,
Satoru Moriya <satoru.moriya@hds.com>
Subject: Re: [RFC][PATCH v2 2/3] Hold multiple logs
Date: Fri, 20 Jul 2012 10:29:34 -0400 [thread overview]
Message-ID: <20120720142934.GF5637@redhat.com> (raw)
In-Reply-To: <A5ED84D3BB3A384992CBB9C77DEDA4D40FB286FB@USINDEM103.corp.hds.com>
On Fri, Jul 20, 2012 at 01:24:38PM +0000, Seiji Aguchi wrote:
>
> > What is the harm of not using this and just letting the number be infinite (or until EFI runs out of space)? Is it a big deal if extra failures
> > are logged?
>
>
> There may be someone using NVRAM for other purposes.
> Actually, we have the user interface, /sys/firmware/efi/vars/new_vars, del_vars.
>
> In this case, they want to avoid filling with unneeded logs.
Sure, which is why it needs to be cleaned out regularly. This isn't much
different than with /var/logs or even /boot. The former can suck up lots
of disk space for no reason and the later can use up limited space if you
install to many kernels.
I don't know, I am not a fan of this policy in the kernel, I would rather
keep it simple, like an on/off switch. If you decide you want to use efi
for logging than you better make sure you have an app to clean it up.
Otherwise the user shouldn't turn it on.
Creating rules like this seems to be complicating things to me IMHO. But
I will gladly defer to someone else's judgement.
Cheers,
Don
>
> > The hope would be a daemon would clear the old logs out and you never run out of space.
>
> In most case
> But as Tony mentioned, NVRAM may be filled with multiple oops even if we have the daemon.
>
> Seiji
next prev parent reply other threads:[~2012-07-20 14:29 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 21:13 [RFC][PATCH v2 2/3] Hold multiple logs Seiji Aguchi
2012-07-19 21:22 ` Luck, Tony
2012-07-19 21:43 ` Seiji Aguchi
2012-07-19 22:10 ` Luck, Tony
2012-07-19 23:08 ` Seiji Aguchi
2012-07-19 23:42 ` Luck, Tony
2012-07-20 0:39 ` Seiji Aguchi
2012-07-20 3:03 ` Don Zickus
2012-07-20 13:24 ` Seiji Aguchi
2012-07-20 13:42 ` Seiji Aguchi
2012-07-20 14:29 ` Don Zickus [this message]
2012-07-20 16:56 ` Luck, Tony
2012-07-20 18:49 ` Seiji Aguchi
2012-07-23 14:16 ` Matthew Garrett
2012-07-24 17:23 ` Seiji Aguchi
2012-07-24 17:52 ` Luck, Tony
2012-07-24 18:18 ` Matthew Garrett
2012-07-24 19:57 ` Luck, Tony
2012-07-24 20:39 ` Seiji Aguchi
2012-07-24 20:54 ` Luck, Tony
2012-07-24 21:07 ` Matthew Garrett
2012-07-24 21:12 ` Luck, Tony
2012-07-24 21:26 ` Matthew Garrett
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=20120720142934.GF5637@redhat.com \
--to=dzickus@redhat.com \
--cc=dle-develop@lists.sourceforge.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikew@google.com \
--cc=mjg@redhat.com \
--cc=satoru.moriya@hds.com \
--cc=seiji.aguchi@hds.com \
--cc=tony.luck@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