From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9oTO-0002LL-3Z for guix-patches@gnu.org; Wed, 01 Nov 2017 04:34:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9oTK-00013L-3p for guix-patches@gnu.org; Wed, 01 Nov 2017 04:34:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9oTK-00013F-0k for guix-patches@gnu.org; Wed, 01 Nov 2017 04:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e9oTJ-0002UK-RM for guix-patches@gnu.org; Wed, 01 Nov 2017 04:34:01 -0400 Subject: [bug#29100] [PATCH 0/3] Use overlayfs instead of unionfs. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9oSa-00028t-He for guix-patches@gnu.org; Wed, 01 Nov 2017 04:33:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9oSW-0000jz-HN for guix-patches@gnu.org; Wed, 01 Nov 2017 04:33:16 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:49609) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e9oSW-0000j5-Ad for guix-patches@gnu.org; Wed, 01 Nov 2017 04:33:12 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3yRhLX6qrLz1qsD4 for ; Wed, 1 Nov 2017 09:33:08 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3yRhLX5nlsz1qqkr for ; Wed, 1 Nov 2017 09:33:08 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 6bzKOevGevim for ; Wed, 1 Nov 2017 09:33:07 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-93-104-85-160.dynamic.mnet-online.de [93.104.85.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Wed, 1 Nov 2017 09:33:07 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 9B7706016C for ; Wed, 1 Nov 2017 09:33:07 +0100 (CET) From: Hartmut Goebel Date: Wed, 1 Nov 2017 09:33:07 +0100 Message-Id: <20171101083307.5214-1-h.goebel@crazy-compilers.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29100@debbugs.gnu.org These patches replace the FUSE-based unionfs by the kernel-based overlayfs. For the insallation image this reduces the size of the initrd by ca. 4.3% (487K). I verified this is working by successfiully running make check-system TESTS=installed-os. One thing I did not change: In gnu/system/install.scm (installation-os)[file-systems], /tmp is still mounted to tmpfs. This was introduced in ee03b75dfb3399f41002c38ac512473ab94afa74 for unionfs because FUSE creates .fuse_hiddenXYZ' files for each open file, and this confuses Guix's test suite, for instance (see ). This should no longer be necessary when using overlayfs, since overlayfs uses a separate workdir. However I was not able to trigger bug 23056 while still using unionfs, so I could not verify whether this mount is still needed with overlayfs and I decided to keep it. Hartmut Goebel (3): build: Use overlayfs instead of unionfs. install: Use overlayfs instead of unionfs. gnu: service: Update comment. gnu/build/linux-boot.scm | 43 ++++++++++++--------------------------- gnu/services/base.scm | 2 +- gnu/system/install.scm | 49 ++++++++++++++++++--------------------------- gnu/system/linux-initrd.scm | 4 ++-- 4 files changed, 35 insertions(+), 63 deletions(-) -- 2.13.5