[Top][All Lists]

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

Re: Remounting tmpfs

From: Ludovic Courtès
Subject: Re: Remounting tmpfs
Date: Tue, 09 Apr 2019 16:58:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)


address@hidden skribis:

> 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.

In Guix /etc is mostly populated by “activation programs”, which are
generated from your config.  So I’m not sure what you describe would
make much sense.

Now, you could try to add a file system declaration that mounts /etc,
with (needed-for-boot? #t).


reply via email to

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