Neil Bothwick wrote:
On Fri, 07 Oct 2005 09:07:41 +0800, W.Kenworthy wrote:
If you want to move directories, avoid wholesale symlinking like this as
it always ends in tears ...
If you want two directories on the same partition, I prefer to mount them
with --bind. I do this to have /usr, /var and /opt on a single
partition, separate from/. /usr is mounted on the partition itself, which
contains var and opt directories, which are mounted with the following
fstab lines.
/usr/var /var auto bind 0 0
/usr/opt /opt auto bind 0 0
Just to be sure, my fstab will contain something like this:
/dev/hdx /mnt/nHd reiserfs defaults,noatime 0 2
/mnt/nHd/usr /usr auto bind 0 0
/mnt/nHd/home /home auto bind 0 0
As in
http://www.gentoo.org/doc/en/articles/partitioning-p1.xml
it is suggested to copy the contents of home in single user
mode to be sure there are no open files, i'm considering
copying the /usr directory after booting with
the live-cd.
Thank you all for your help !
Matthias
--
gentoo-user@gentoo.org mailing list