[systemd-devel] [PATCH] automount: add expire support

Kay Sievers kay at vrfy.org
Tue Mar 24 16:59:30 PDT 2015


On Sun, Mar 22, 2015 at 1:36 PM, Michael Olbrich
<m.olbrich at pengutronix.de> wrote:
> ---
>  man/systemd.automount.xml             |   8 ++
>  man/systemd.mount.xml                 |   9 ++
>  src/core/automount.c                  | 209 ++++++++++++++++++++++++++++++++--
>  src/core/automount.h                  |   6 +-
>  src/core/dbus-automount.c             |   1 +
>  src/core/load-fragment-gperf.gperf.m4 |   1 +
>  src/core/mount.c                      |  20 +---
>  src/fstab-generator/fstab-generator.c |  27 +++++
>  8 files changed, 253 insertions(+), 28 deletions(-)

Great to have that feature, and it is really needed not to constantly
trash the EFI FAT32 partition with the Linux vfat driver when things
go wrong.

It seems to do what it is supposed to do:
Mar 25 00:47:24 ank systemd[1]: Got automount request for /boot,
triggered by 1057 (ls)
Mar 25 00:48:47 ank systemd[1]: Unmounting EFI System Partition...
Mar 25 00:50:05 ank systemd[1]: Got automount request for /boot,
triggered by 1206 (ls)
Mar 25 00:50:36 ank systemd[1]: Unmounting EFI System Partition...

I'll let someone else take another look, seems all fine from my side.

Thanks a lot for doing this,
Kay


More information about the systemd-devel mailing list