Copying - I have used cp -a to good effect (transferring /usr amongst
others), e.g. cp -a /home/. /tmpmount.

CAUTION 1:
When you mount a filesystem, the visible effects are mounting a directory
tree structure, from the mount point down, so with only one filesystem (on
/dev/hda) you CANNOT replace /home, /root, /lib, /bin, without mounting it
as /. For example, if you 'mount /dev/hda8 /home' all the subdirectories in
/dev/hda8 will hang from /home.

The only way you can do this is to have separate filesystems for /home,
/root, ...

CAUTION 2:
Because of the importance of /bin, /sbin, /dev, /etc, /boot the most
"secure" way of partitioning is to have a root partition that is just large
enough to handle these directories and then mount the rest of the
directories as separate filesystems. This is due to the fact that the
smaller a partition is the less probable it is that a sector will die on
it, and if a segment dies on root, you have problems. The only directory
here that might be loaded as a separate filesystem is /bin, I'm not sure of
the dependencies here in Debian Linux.

Hope  this helps

             | <[EMAIL PROTECTED]>
             | <http://www.geocities.com/SiliconValley/Park/1152>
             |
Simon Martin | "Old software engineers never die,
             |  they just fail to boot"
             |
             | Any Trademarks used in this document are recognized 
             | as Registered Trademarks of their respective owners.

----------

On Mon, 16 Dec 1996, Richard Morin wrote:

> I am in need of some advice about how to go about moving some of the 
> directories off of my main partition and onto one I just made.
> 
> /dev/hda4  is currently mounted /
> /dev/hda8 is currently mounted /tmpmount
> 
> I'd like to be able to move /home, /root, /lib,  /bin, and a couple 
> others over to /dev/hda8  


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to