Mirabella, Mathew J said:
> Thanks.
>
> SO i assume you are saying make a dir in / for the old data called
> /home.old but ...
> umount /home
> means that /home is no longer accessible?  so how can you cp into it with
> cp -a /home.old/* /home/

you unmount it, and re mount it at the new location /home.old


>
> My assumption is... and correct me if i am wrong... when there is a dir in
> / whether it has been unmounted or just created... it is there, and the
> only thing that mounting does is to allow you to gain access to a
> different partition or storage device via that directory.

a mount point is just a directory, nothing special about it ..and it
can be anywhere, for me it's just habbit to use /home.old (and /usr.old
and /var.old and /usr.new etc ........) you can have it mounted as
/usr/local/my/favorite/drink/is/coke if you wanted..just be sure
that the path exists before trying to mount it :)


> so here, when
> unmounting /home, this just means stop using the stuff in /devb/hdb6 but
> /home will exist, just in hda5 where / is instead of using the hdb6.

yes, /home should be an empty directory after the device is unmounted.


> I also assume that the /home entry in /etc/fstab is only there to mount
> /home somewhere else other than th the partition that / is mounted, and
> removing it will simply begin using /home in the / partition as it has
> been created.  is this correct understanding?

yep thats right


nate





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to