unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: carl hansen <carlhansen1234@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: moving /gnu to different disk
Date: Wed, 13 Jan 2016 13:14:34 +0200	[thread overview]
Message-ID: <20160113131434.5887b13f@debian-netbook> (raw)
In-Reply-To: <CAHEkXCTOUkua=P1+ChHJ6D9UfOnS_kzdCsoEGDMU=gj7rcAAFQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]

On Tue, 12 Jan 2016 13:39:02 -0800
carl hansen <carlhansen1234@gmail.com> wrote:

> Rather than trying the following, I thought, "Why not ask first?"
> 
> Due to the sizes of various hard disks in my machine, I want to move /gnu
> to /directoryondifferentdisk/gnu
> and then do
> mount --bind /directoryondifferentdisk/gnu /gnu
> 
> (I have already formed a superstition that
> ln -s /directoryondifferentdisk/gnu /gnu
> won't work)
> 
> I see a vast collection of hard links in /gnu/store/.links...
> 
> I forsee problems when copying /gnu, not reproducing hard links
> but reproducing the data.
> 
> Are my fears founded? How to proceed?
> Or better to start over with new installation of gnux and /gnu?

When I moved mine from / to a new partition I did `cp -a` and it all worked well.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2016-01-13 11:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12 21:39 moving /gnu to different disk carl hansen
2016-01-12 22:29 ` Leo Famulari
2016-01-13 11:12   ` Ludovic Courtès
2016-01-12 22:29 ` Andreas Enge
2016-01-13  4:31   ` carl hansen
2016-01-13 11:14 ` Efraim Flashner [this message]
2016-01-15 14:06   ` Mark H Weaver
2016-01-13 18:06 ` Christopher Allan Webber

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=20160113131434.5887b13f@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=carlhansen1234@gmail.com \
    --cc=help-guix@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.
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).