Re: Migrating /home from too small /dev/hda partition
Jean Delvare <[email protected]> Mon, 11 Aug 2003 09:54:15 +0200
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Message-ID | <[email protected]> |
> > 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. I believe that "cp -a" does just the same, in an easier manner. -- Jean Delvare http://www.ensicaen.ismra.fr/~delvare/