Re: split efi systab in sysfs

From: H. Peter Anvin
Date: Wed Dec 25 2013 - 20:55:47 EST


On 12/25/2013 05:53 PM, Dave Young wrote:
> Hi, Matt and Peter
>
> Currently /sys/firmware/efi/systab contains multi-lines for efi systab
> entries. As previous discussion with Greg, this is not a good in sysfs.
> I wonder if there's other users for this file except kexec-tools.
>
> If kexec-tools is the only user, maybe I can split it as several files.
> In kexec-tools just use /sys/firmware/efi/"$entry_name" and if $entry_name
> does not exist then switch to old systab file.
>

Yes, the sysfs standard is "one entry per datum". I have no idea about
who the user(s) might be, though.

-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/