On Sun, 25 Oct 1998, Jonathan Pennington wrote:
>I've got a partitioning question.
>
>I configured my system with a 2GB /home partition and a 500MB "/"
>partition. My /root is on the "/" partition, and it's getting a bit
>crowded. Can I rdev the root partition (/hda8) to the /home partition
>(/hda5) without losing any data on either? Alternatively, can I make a
>symlink on the root partition named /root, that leads to somewhere on
>/home, or will that cause weird errors.
You don't want to merge /home into the rest of your root partition, or
you'll have lots of problems should you ever have yto reinstall because
you'll have to take extra steps to preserve your /home data. This, too, is
another reason why it's in general a good idea to move root's home
directory over to /home. There are two ways in which you can do this.
The first way:
rm -r /root
ln -s /root /home/root
The second way:
usermod -d /home/root root
Before you do this, however, remember to copy over the data:
(cd / && tar cf - root) | (cd /home && tar xf -)
Note, however, that there is one drawback. If you ever have to do the
rescue disk thing, you'll come up without root's home directory. All you
need to do, though, is mount /home to get it back.
--
Dave Mielke | 856 Grenon Avenue
Phone: 1-613-726-0014 | Ottawa, Ontario
EMail: [EMAIL PROTECTED] | Canada K2B 6G3