unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Kragen Javier Sitaker <kragen@canonical.org>
To: 21209@debbugs.gnu.org
Subject: bug#21209: /gnu/store should be able to be a symlink, but it can't
Date: Fri, 7 Aug 2015 16:03:08 +0000	[thread overview]
Message-ID: <20150807160308.GA13042@adjuvant> (raw)

Apparently I can’t make /gnu/store a symlink:

    : user@debian:~/pkgs/guix-0.8.1; time /usr/local/bin/guix pull
    guix pull: error: build failed: `/gnu/store' is not a directory

    real	0m0.431s
    user	0m0.104s
    sys	0m0.036s
    : user@debian:~/pkgs/guix-0.8.1; ls -l /gnu/store
    lrwxrwxrwx 1 root root 9 Aug  7 12:56 /gnu/store -> /gnustore
    : user@debian:~/pkgs/guix-0.8.1; ls -Ldl /gnu/store
    drwxrwxr-t 40 root guix-builder 49152 Aug  7 12:56 /gnu/store

Is there a reason for this?  It’s inconvenient.  (My root SSD only has
a couple gigs left.)

I’m working around that by directly mounting the /gnustore partition
under /gnu/store now.

    : user@debian:~/pkgs/guix-0.8.1; sudo vi /etc/fstab
    : user@debian:~/pkgs/guix-0.8.1; grep store /etc/fstab
    /tb/gnustore.ext4 /gnu/store     ext4    loop            2       3
    : user@debian:~/pkgs/guix-0.8.1; sudo umount /gnustore
    : user@debian:~/pkgs/guix-0.8.1; sudo rm /gnu/store
    : user@debian:~/pkgs/guix-0.8.1; sudo mkdir /gnu/store
    : user@debian:~/pkgs/guix-0.8.1; sudo mount -a

             reply	other threads:[~2015-08-07 16:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07 16:03 Kragen Javier Sitaker [this message]
2015-08-08  4:51 ` bug#21209: /gnu/store should be able to be a symlink, but it can't Claes Wallin
2015-08-08  9:31   ` Pjotr Prins
2015-08-08 15:48     ` Kragen Javier Sitaker
2015-08-18 17:52 ` 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=20150807160308.GA13042@adjuvant \
    --to=kragen@canonical.org \
    --cc=21209@debbugs.gnu.org \
    /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).