From: Jeremy Kerr <jeremy.kerr@canonical.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org, Matthew Garrett <mjg@redhat.com>,
Matt Fleming <matt.fleming@intel.com>,
Matt Domsch <Matt_Domsch@Dell.com>
Subject: Re: [RFC,PATCH] efi: Add support for a UEFI variable filesystem
Date: Mon, 03 Sep 2012 09:39:38 +0800 [thread overview]
Message-ID: <50440A5A.900@canonical.com> (raw)
In-Reply-To: <5e40036f-b0da-47f3-acba-5dea9fdb7ed6@email.android.com>
hi hpa,
> Wouldn't that be better handled by O_APPEND?
Possibly, but this then means that there are now two "interfaces" that
specify the variable attributes.
[Also, in that case we should support the same mechanism through open();
llseek(0, SEEK_END) then, right?]
In general, I think the attributes-in-a-header mechanism is a little
tidier than providing them in the filename. For instance, finding if a
variable exists from userspace will require iterating the dentries (or
trying all combinations of variables), if the attributes aren't known.
However, I'm happy to implement this if it's the generally-preferred
solution.
Cheers,
Jeremy
next prev parent reply other threads:[~2012-09-03 1:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1346319009.951368.767015086462.1.gpush@pecola>
2012-08-30 17:22 ` [RFC,PATCH] efi: Add support for a UEFI variable filesystem H. Peter Anvin
2012-08-31 0:42 ` Jeremy Kerr
2012-08-31 2:36 ` H. Peter Anvin
2012-09-03 1:39 ` Jeremy Kerr [this message]
2012-09-03 1:59 ` H. Peter Anvin
2012-09-03 3:15 ` Jeremy Kerr
2012-09-03 3: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=50440A5A.900@canonical.com \
--to=jeremy.kerr@canonical.com \
--cc=Matt_Domsch@Dell.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=mjg@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.