From: "Zbigniew Jędrzejewski-Szmek" <zbyszek-wrcVdnn0TatmR6Xm/wNWPw@public.gmane.org>
To: Kay Sievers <kay-tD+1rO4QERM@public.gmane.org>
Cc: "Lee,
Chun-Yi" <joeyli.kernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
systemd-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Matt Fleming
<matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
"Lee, Chun-Yi" <jlee-IBi9RG/b67k@public.gmane.org>,
linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Jeremy Kerr <jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>,
Matthew Garrett <mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [systemd-devel] [PATCH] Add syste-firmware-efi-efivars.mount for support automount EFI variable filesystem
Date: Wed, 24 Oct 2012 14:23:37 +0200 [thread overview]
Message-ID: <20121024122337.GV19454@in.waw.pl> (raw)
In-Reply-To: <CAPXgP10Jejdu6Q=4XDy0ujjX6kKX-efgCZxmPJJiV5YRfNCJ6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Wed, Oct 24, 2012 at 02:17:39PM +0200, Kay Sievers wrote:
> On Wed, Oct 24, 2012 at 2:12 PM, Zbigniew Jędrzejewski-Szmek
> <zbyszek-wrcVdnn0TatmR6Xm/wNWPw@public.gmane.org> wrote:
> > On Wed, Oct 24, 2012 at 06:42:02PM +0800, Lee, Chun-Yi wrote:
> >> Add units/sys-firmware-efi-efivars.mount rule for support automount EFI variable filesystem
> >> ---
> > Hi,
> >
> > in systemd parlance, automount means autofs mount, but to have that, a
> > second .automount unit is needed. Please have a look at
> > http://cgit.freedesktop.org/systemd/systemd/tree/units/proc-sys-fs-binfmt_misc.automount
> > vs
> > http://cgit.freedesktop.org/systemd/systemd/tree/units/proc-sys-fs-binfmt_misc.mount .
> > Now the question is whether the loading of the fs is slow enough to
> > matter, ie. if it is actually beneficial to use automount instead of
> > mounting directly. Since the fs can be compiled as a module, than it
> > probably is.
> >
> > Also, would be nice to add a Documentation= line like in
> > proc-sys-fs-binfmt_misc.automount.
>
> It might all not be worth it, and we might just add it to the
> "unconditionally mounted" list in the compiled-in code (marked with
> allowed-to-fail). It seems like the better option than having a mount
> unit, and a module-load force option.
Probably should be measured by someone with UEFI. This will likely be
a very rarely used fs, so if the loading time is actually measureable,
than automount probably makes sense.
> The current mount unit would never trigger for modules, because the
> path will not exist. An internal API mount will cause a trransparent
> kernel-forked modprobe with the mount() syscall.
Yeah, the ConditionPathExists would have to be dropped.
Zbyszek
next prev parent reply other threads:[~2012-10-24 12:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-24 10:42 [PATCH] Add syste-firmware-efi-efivars.mount for support automount EFI variable filesystem Lee, Chun-Yi
[not found] ` <1351075322-3824-1-git-send-email-jlee-IBi9RG/b67k@public.gmane.org>
2012-10-24 11:07 ` [systemd-devel] " Mantas Mikulėnas
[not found] ` <CAPWNY8VVtW6C6gmXBcJBbKeQ+YVTUvFx2xynP0mknr68uJO_SQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-10-24 11:32 ` joeyli
[not found] ` <1351078348.30067.31.camel-ONCj+Eqt86TasUa73XJKwA@public.gmane.org>
2012-10-24 11:34 ` joeyli
2012-10-24 12:12 ` Zbigniew Jędrzejewski-Szmek
[not found] ` <20121024121246.GU19454-wrcVdnn0TatmR6Xm/wNWPw@public.gmane.org>
2012-10-24 12:17 ` [systemd-devel] " Kay Sievers
[not found] ` <CAPXgP10Jejdu6Q=4XDy0ujjX6kKX-efgCZxmPJJiV5YRfNCJ6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-10-24 12:23 ` Zbigniew Jędrzejewski-Szmek [this message]
[not found] ` <20121024122337.GV19454-wrcVdnn0TatmR6Xm/wNWPw@public.gmane.org>
2012-10-24 13:00 ` Kay Sievers
[not found] ` <CAPXgP11ov-2W=189WeT2jN5KDzu3CpSb5rJG=3s1AZ0W1YT+qQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-10-24 13:09 ` Zbigniew Jędrzejewski-Szmek
[not found] ` <20121024130944.GW19454-wrcVdnn0TatmR6Xm/wNWPw@public.gmane.org>
2012-10-24 13:22 ` Kay Sievers
2012-10-24 14:04 ` Lennart Poettering
[not found] ` <20121024140401.GA19778-kS5D54t9nk0aINubkmmoJbNAH6kLmebB@public.gmane.org>
2012-10-25 4:12 ` joeyli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121024122337.GV19454@in.waw.pl \
--to=zbyszek-wrcvdnn0tatmr6xm/wnwpw@public.gmane.org \
--cc=jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org \
--cc=jlee-IBi9RG/b67k@public.gmane.org \
--cc=joeyli.kernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=kay-tD+1rO4QERM@public.gmane.org \
--cc=linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=systemd-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox