Re: [PATCH 3/4] EFI: Add support for variables longer than 1024 bytes
From: H. Peter Anvin
Date: Wed Dec 14 2011 - 18:00:49 EST
On 12/14/2011 02:57 PM, Mike Waychison wrote:
>
> Well,l we could *not* support returning all the data field for
> datasize > 1024, and simply truncate the field. We are limited by
> PAGE_SIZE by sysfs here anyway (so we don't really want to have a
> variable size memcpy in efivar_show_raw).
>
That may be the biggest reason to avoid sysfs. As far as I know sysfs
doesn't allow seq_file to be used.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/