[PLUG] Moving in to the new partitions

Wil Cooley wcooley at nakedape.cc
Sat Dec 27 23:17:02 UTC 2003


On Sat, 2003-12-27 at 22:13, Evan Heidtmann wrote:
> Thanks to everyone!  I managed to get my hands on parted and a bootdisk 
> and now have new partitions waiting to become /tmp, /var, /usr, and 
> /home.  I am now looking at how to copy all the files in the current 
> /var, /usr, and /home to their new partitions.  I tried cp, but that 
> destroys all the permissions and ownerships.  I can restore these by 
> hand, but is there a better tool?

Try 'cp -a'.

Wil
-- 
Wil Cooley                                 wcooley at nakedape.cc
Naked Ape Consulting                        http://nakedape.cc
* * * * * *  Linux Services for Small Businesses  * * * * * *
*       Easy, reliable solutions for small businesses       *
*    Naked Ape Business Server http://nakedape.cc/r/sms     *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20031227/d55dba7a/attachment.asc>


More information about the PLUG mailing list