From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH (4)] gnu: Add NFS related services. (minor improvements to documentation; Added test to ensure that pipefs mount/umount succeeded() Date: Tue, 11 Oct 2016 22:30:41 +0200 Message-ID: <87fuo2tyq6.fsf@gnu.org> References: <87int5i7fz.fsf@gnu.org> <1476167844-28068-1-git-send-email-jmd@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu3hI-0007gP-Aj for guix-devel@gnu.org; Tue, 11 Oct 2016 16:30:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bu3hF-000577-0m for guix-devel@gnu.org; Tue, 11 Oct 2016 16:30:48 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu3hE-000573-Rk for guix-devel@gnu.org; Tue, 11 Oct 2016 16:30:44 -0400 In-Reply-To: <1476167844-28068-1-git-send-email-jmd@gnu.org> (John Darrington's message of "Tue, 11 Oct 2016 08:37:24 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: John Darrington Cc: guix-devel@gnu.org Hi, John Darrington skribis: > Yet another patch. Here I check that the mount/umount succeeds by testin= g that=20 > /var/lib/nfs/pipefs is a member of the list returned by (mount-points). OK. > Regarding Ludo's suggestion to use a filesystem extention a la elogind - = I have > looked into that possibility, but so far as I can see using a service ext= ension=20 > does not allow a "provision" field, so I don't know how to make the other= services > dependent upon it. Also I don't see from the elogind example how to spec= ify an=20 > alternative mount point and then to pass that mount point to dependent se= rvices. > (I cannot imagine why anyone would want to do that, but hey - guix is sup= posed to > be hackable!) I'd be happy to change it later if someone can explain ho= w to do it. Yes, let=E2=80=99s keep it for later. For future reference, as I wrote in , the Shepherd service corresponding to the file system object would be called =E2=80=98file-system-/var/lib/nfs/pipefs=E2=80=99. This is the name= you would write in =E2=80=98requirement=E2=80=99. > > > > > * gnu/services/nfs.scm (pipefs-service-type): New Variable, > (gss-service-type): New Variable, (idmap-service-type) New Variable. > > * doc/guix.texi (Network File system): New Node. No need to capitalize =E2=80=9Cnode=E2=80=9D and =E2=80=9Cvariable.=E2=80=9D OK with this patch, thank you! Ludo=E2=80=99.