From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Instantiating the OS declaration after a small change Date: Fri, 06 Apr 2018 10:26:00 +0200 Message-ID: <87woxk212f.fsf@gnu.org> References: 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]:53147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4MhC-0002Ml-9O for help-guix@gnu.org; Fri, 06 Apr 2018 04:26:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4Mh9-0005sn-3Y for help-guix@gnu.org; Fri, 06 Apr 2018 04:26:06 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:38198) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f4Mh8-0005sI-TQ for help-guix@gnu.org; Fri, 06 Apr 2018 04:26:03 -0400 In-Reply-To: (Arnaud B.'s message of "Thu, 5 Apr 2018 17:58:18 +0200") 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: Arnaud B Cc: help-guix@gnu.org Hello, Arnaud B skribis: > Context : > In the process of trying to build packages, through the use of guix > environments, I need more space on my home partition. > To do so, deleting former generations followed by 'guix gc' was not enoug= h, > and I need to move things to my external ntfs drive (please don't ask why= I > have to use that file system...). > As I'm regularly going to mount it, I added a file-system declaration in = my > config.scm. OK. > Question : > Do I have to apply 'guix system reconfigure', a lenghty process (on my > computer at least) for such a small change, especially if I did not write > it correctly, or is there another possibility ? I actually just want to > test that file system declaration. > From 6.2.13 of the manual, I'm thinking about 'guix system build'. Or cou= ld > I do it temporarily in another scm file ? I have a similar use case: an external HDD that I plug in from time to time. What I do is declare it as not being automatically mounted on startup: (file-system (title 'uuid) (device (uuid "eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee")) (mount-point "/mnt/disk") (type "ext3") (mount? #f)) This adds an entry to /etc/fstab so when I plug it in, I can simply time =E2=80=9Csudo mount /mnt/disk=E2=80=9D. Now, if you use GNOME or similar, the udisks service and its friends are support to automatically mount partitions from removable storage. HTH, Ludo=E2=80=99.