Messages in this thread | | | Subject | Re: [RFC,PATCH] efi: Add support for a UEFI variable filesystem | From | "H. Peter Anvin" <> | Date | Sun, 02 Sep 2012 18:59:37 -0700 |
| |
Well, appending is an action, not really a property of the variable that sticks around, no?
Jeremy Kerr <jeremy.kerr@canonical.com> wrote:
>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
-- Sent from my mobile phone. Please excuse brevity and lack of formatting.
| |