lkml.org 
[lkml]   [2012]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC,PATCH] efi: Add support for a UEFI variable filesystem
From
Date
Wouldn't that be better handled by O_APPEND?



Jeremy Kerr <jeremy.kerr@canonical.com> wrote:

>Hi hpa,
>
>Thanks for the review!
>
>> However, I have a question... rather than putting the attributes as
>the
>> first data bytes, would it be better to make it either part of the
>> filename (assuming there is at least one character other than / which
>> can be reasonably relied upon to not be part of the name); for
>example:
>>
>> LangCodes,BS,RT
>>
>> ... or ...
>>
>> LangCodes,6
>
>This will get tricky when handling EFI_VARIABLE_APPEND_WRITE: this
>attribute will never appear in the attributes returned by
>GetVariable(),
>but may be passed to SetVariable(). If we put attributes in the
>filename, we'd need to handle writes to both names, and/or have
>duplicate dentries for each variable. We could do it, but the
>filesystem
>interface might be a little messy.
>
>[Supporting append writes is essential for key database updates, which
>may be signed]
>
>Cheers,
>
>
>Jeremy

--
Sent from my mobile phone. Please excuse brevity and lack of formatting.


\
 
 \ /
  Last update: 2012-08-31 05:21    [W:0.087 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site