On Tue, Jan 12, 2016 at 01:39:02PM -0800, carl hansen 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.
You could try moving the data with `rsync --hard-links`. Of course you should test that it works as expected first or you might end up out of space on the new device, too! >From the rsync man page: -H, --hard-links preserve hard links Of course, there may be a better solution altogether. > > Are my fears founded? How to proceed? > Or better to start over with new installation of gnux and /gnu?