[systemd-devel] Mounting efivars / efivarfs

Colin Guthrie gmane at colin.guthr.ie
Tue Apr 9 07:03:41 PDT 2013


'Twas brillig, and Tom Gundersen at 09/04/13 10:22 did gyre and gimble:
> 
> On 9 Apr 2013 01:48, "Greg KH" <gregkh at linuxfoundation.org
> <mailto: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.

Cool, thanks Tom. I think we'll likely just make it a built-in for now
rather than a module (at least for the short term). Seems the path of
least resistance and solves a couple other issues too.

Cheers

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the systemd-devel mailing list