moving some directories to the New partition but still preserving the links

bj bhamal at wlink.com.np
Tue Feb 22 14:26:03 UTC 2005


Hi !

I have Red Hat 8 on a intel P 4 machine with 512 MB memory .

Thanks to all , I was able to partition my 60 GB hard drive creating
extended drives .

Now I want to move some of directories under my root to my extended
partition that has already been formatted with mkfs.ext3.

I have got the procedure to move  /tmp and /var to their own shared
partition .


I want to move /usr , /applications , /backup  , /home , misc , /proc , /tmp
.

I want to mount /dev/hda5 as /usr & /dev/hda6 as /home or what ever most
suitable .

But my greatest worry is how to make sure that the previously installed
applications work after the move .

How to preserve the symbolic & hard links as files are moved across
different partitions.

Please advice if it is possible to do a successful move of some of the
directories under / and still preserve the links and make the applications
work.


Thanks in advance ,

cheers,
bj



My root directory structure is as ffs :-


applications
backup
bin
boot
dev
etc
home
initrd
lib
lost+found
misc
mnt
opt
proc
root
sbin
tftpboot
tmp
usr
var






More information about the Redhat-install-list mailing list