[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remounting tmpfs

From: 7e9wc56emjakcm
Subject: Remounting tmpfs
Date: Mon, 8 Apr 2019 04:33:51 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3

On a system I'm porting to guix I have 2GB tmpfs with subdirectories
like /tmpfs/etc that I remount to /etc with an overlay filesystem.

The current way I do this in systemd is making a service dependency
between the /tmpfs and /etc mounts that mkdirs /tmpfs/etc and
/tmpfs/etc_work, but AFAICT filesystem definitions in guix can only have
filesystem dependencies.

Are there any other ways I can do this without copying/pasting/modifying
gobs of core guix code into my system definition?  Like somehow
appending (mkdir /tmpfs/etc) onto the tmpfs filesystem service start
procedure or something.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]