From mboxrd@z Thu Jan 1 00:00:00 1970 From: 7e9wc56emjakcm@s.rendaw.me Subject: Remounting tmpfs Date: Mon, 8 Apr 2019 04:33:51 +0900 Message-ID: <80844c75-50c6-ff82-6693-db6af0f10551@fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <7e9wc56emjakcm@s.rendaw.me>) id 1hDDYG-0002w6-Kz for help-guix@gnu.org; Sun, 07 Apr 2019 15:34:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <7e9wc56emjakcm@s.rendaw.me>) id 1hDDYF-0007Mt-OQ for help-guix@gnu.org; Sun, 07 Apr 2019 15:34:00 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:38215) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <7e9wc56emjakcm@s.rendaw.me>) id 1hDDYF-0007LV-2u for help-guix@gnu.org; Sun, 07 Apr 2019 15:33:59 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id C4A9F6147 for ; Sun, 7 Apr 2019 15:33:55 -0400 (EDT) Received: from [192.168.1.35] (y236169.dynamic.ppp.asahi-net.or.jp [118.243.236.169]) by mail.messagingengine.com (Postfix) with ESMTPA id 44F1CE4382 for ; Sun, 7 Apr 2019 15:33:54 -0400 (EDT) Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org 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.