Re: Migrating /home from too small /dev/hda partition
[email protected] Sun, 10 Aug 2003 18:53:34 -0700
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Message-ID | <[email protected]> |
> Dan Whitacre <[email protected]> said: > I did 'mv /opt/home /home' A somewhat better way to copy the filesystem with the permissions intact is to use tar in a pipeline. Something like: cd /opt/home tar cf - . | ( cd /home; tar xpf -) This insures all files keep their ownerships and permissions intact. You can then delete /opt/home when you are done. -- Smoot Carl-Mitchell Systems/Networking Consultant email: [email protected] cell: +1 602 421 9005 home: +1 480 922 7313