From: ludo@gnu.org (Ludovic Courtès)
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: NFS mounts
Date: Mon, 09 Oct 2017 09:57:22 +0200 [thread overview]
Message-ID: <87shes92jh.fsf@gnu.org> (raw)
In-Reply-To: <m14lrcxqn8.fsf@fastmail.net> (Konrad Hinsen's message of "Fri, 6 Oct 2017 17:06:03 +0200")
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
Hi Konrad,
Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:
> does anyone have an example of a system configuration that mounts an NFS
> share at boot time? It seems that this requires some extra services and
> also some additional packages (to have mount.nfs for example).
Indeed, the initrd would need an extra package, like this:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 826 bytes --]
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 969a89266..76ec3b8a6 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -32,6 +32,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages disk)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages nfs)
#:use-module (gnu packages guile)
#:use-module ((gnu packages make-bootstrap)
#:select (%guile-static-stripped))
@@ -231,6 +232,9 @@ FILE-SYSTEMS."
,@(if (find (file-system-type-predicate "btrfs") file-systems)
(list btrfs-progs/static)
'())
+ ,@(if (find (file-system-type-predicate "nfs") file-systems)
+ (list nfs-utils)
+ '())
,@(if volatile-root?
(list unionfs-fuse/static)
'())))
[-- Attachment #3: Type: text/plain, Size: 204 bytes --]
Can you try if it works?
However, we should provide an ‘nfs-utils-static’ package because the
above leads to a very big initrd (the closure of ‘nfs-utils’ is
~200 MiB).
HTH,
Ludo’.
next prev parent reply other threads:[~2017-10-09 7:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-06 15:06 NFS mounts Konrad Hinsen
2017-10-09 7:57 ` Ludovic Courtès [this message]
2017-10-10 7:52 ` Konrad Hinsen
2017-10-13 18:28 ` Konrad Hinsen
2017-10-16 13:09 ` Ludovic Courtès
2017-10-27 12:53 ` Konrad Hinsen
2017-10-30 9:29 ` Ludovic Courtès
2017-11-05 11:51 ` Konrad Hinsen
2017-11-05 17:07 ` Ludovic Courtès
2017-11-06 8:20 ` Konrad Hinsen
2017-11-06 8:54 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shes92jh.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=konrad.hinsen@fastmail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).