unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29100] [PATCH 0/3] Use overlayfs instead of unionfs.
@ 2017-11-01  8:33 Hartmut Goebel
  2017-11-01  8:39 ` [bug#29100] [PATCH 1/3] build: " Hartmut Goebel
  2017-11-08 17:26 ` bug#29100: Updated, tested again and merged Hartmut Goebel
  0 siblings, 2 replies; 13+ messages in thread
From: Hartmut Goebel @ 2017-11-01  8:33 UTC (permalink / raw)
  To: 29100

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 <http://bugs.gnu.org/23056>).  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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-11-08 17:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-01  8:33 [bug#29100] [PATCH 0/3] Use overlayfs instead of unionfs Hartmut Goebel
2017-11-01  8:39 ` [bug#29100] [PATCH 1/3] build: " Hartmut Goebel
2017-11-01  8:39   ` [bug#29100] [PATCH 2/3] install: " Hartmut Goebel
2017-11-02 17:44     ` Danny Milosavljevic
2017-11-02 18:20       ` Hartmut Goebel
2017-11-05 21:05         ` Ludovic Courtès
2017-11-06  9:33           ` Hartmut Goebel
2017-11-01  8:39   ` [bug#29100] [PATCH 3/3] gnu: service: Update comment Hartmut Goebel
2017-11-05 21:09     ` Ludovic Courtès
2017-11-05 21:08   ` [bug#29100] [PATCH 1/3] build: Use overlayfs instead of unionfs Ludovic Courtès
2017-11-06  9:40     ` Hartmut Goebel
2017-11-06 10:30       ` Ludovic Courtès
2017-11-08 17:26 ` bug#29100: Updated, tested again and merged Hartmut Goebel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).