[systemd-devel] Mounting efivars / efivarfs

Tom Gundersen teg at jklm.no
Tue Apr 9 02:22:47 PDT 2013


On 9 Apr 2013 01:48, "Greg KH" <gregkh at linuxfoundation.org> wrote:
>
> On Tue, Apr 09, 2013 at 12:02:09AM +0100, Colin Guthrie wrote:
> > Hi,
> >
> > Seems on my system, I have to load the module "efivars" before I can
> > mount my efivarfs (mount -t efivarfs efivarfs /sys/firmware/efi/efivars)
> >
> > Now, systemd should do this magically but for some reason it doesn't do
> > that.
>
> You need a newer kernel version that properly exports the efivarfs name
> to userspace, letting mount know what module to load.  The 3.9-rc2
> kernel release should have this change in it, so you can either backport
> the needed patch, or wait for 3.9 to be released.

I don't think that's enough. It exports the alias, but the mountpoint still
won't exist until the module is loaded. For now you'll have to compile the
module into your kernel.

Matt Flemming recently posted a patch series which fixes the problem, so
hopefully that will be in 3.10.

Cheers,

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130409/3a225662/attachment.html>


More information about the systemd-devel mailing list