Re: [expert] hard disk duplication and partition growth

2003-03-20 Thread Christopher Joseph
Thanks to all. -- Christopher Joseph --- http://www.ideadesigners.com [iseries & web technologies] mailto: [EMAIL PROTECTED] ICQ: 78019724 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread Michael Noble
The command does not create a tar file, it uses STDIN and STDOUT. Mike On Wed, 2003-03-19 at 17:23, Greg Meyer wrote: > On Wednesday 19 March 2003 08:11 pm, Michael Noble wrote: > > To copy directories and files keeping ownership and permissions, etc the > > same, use the following: > > > > tar c

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread Greg Meyer
On Wednesday 19 March 2003 08:11 pm, Michael Noble wrote: > To copy directories and files keeping ownership and permissions, etc the > same, use the following: > > tar cf - | (cd ;tar xf -) > > Do this as root. > I don't understand why you would want to go through the additional overhead of creat

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread Michael Noble
To copy directories and files keeping ownership and permissions, etc the same, use the following: tar cf - | (cd ;tar xf -) Do this as root. Mike On Wed, 2003-03-19 at 04:28, Christopher Joseph wrote: > First apologies. I have had some problems getting the search function on > the mail archiv

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread Ron Stodden
Ric Tibbetts wrote: Forget cp, it will nearly always choke on some things. To get a "reliable" copy, that guarentees all permissions, and ownerships will stay in tact: Better still, use rsync -avP / / man rsync. -- Ron. [Melbourne, Australia] 20030119 Get Fastest Mandrake downloader, Englis

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread Tru64 User
Hi, Even for root, tar options given previously and cpio work perfectly. With partimaged, U better make sure your enw root partition is "exactly" the same size as the old. Slightly bigger new root, and the extra space will be wasted. Slightly smaller new root, and U wont be able to restore to a s

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread James Sparenberg
On Wed, 2003-03-19 at 07:17, Ric Tibbetts wrote: > Forget cp, it will nearly always choke on some things. To get a > "reliable" copy, that guarentees all permissions, and ownerships will > stay in tact: > > #> cd / > #> find /[old-home] -print | cpio -pdumv /[New-Home] > > Then make the appropria

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread Tru64 User
U know what works best? #cd /from_dir #tar cvf - . | (cd /path/to/new/dir; tar xvpf -) This will preserve everything as is!! Including links and dates! Well, everything. Explanation:: tar c=create v=verbose f=="device" "." ==from here "|" (pipe) sends out of the section to second section "(

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread Ric Tibbetts
Forget cp, it will nearly always choke on some things. To get a "reliable" copy, that guarentees all permissions, and ownerships will stay in tact: #> cd / #> find /[old-home] -print | cpio -pdumv /[New-Home] Then make the appropriate changes to /etc/fstab, and you're there. This one has never fa

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread AAW
On Wednesday, March 19, 2003 06:28 am, Christopher Joseph wrote: > BUT - the copy process changed a lot of permissions and all kinds of > things have errored cp -a should preserve permissions, ownership, etc.. Arn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakest

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread Brian Parish
On Wed, 2003-03-19 at 23:28, Christopher Joseph wrote: > First apologies. I have had some problems getting the search function on > the mail archives to function properly this morning so I have not been > able to trawl for past questions regarding the same topic properly. > > The problem: > > I

Re: [expert] hard disk duplication and partition growth

2003-03-19 Thread J. Grant
Sounds like you want cp -dpr, info cp gives you more details. cheers JH on the 19/03/03 12:28, Christopher Joseph wrote: First apologies. I have had some problems getting the search function on the mail archives to function properly this morning so I have not been able to trawl for past questi

[expert] hard disk duplication and partition growth

2003-03-19 Thread Christopher Joseph
First apologies. I have had some problems getting the search function on the mail archives to function properly this morning so I have not been able to trawl for past questions regarding the same topic properly. The problem: I have bought a new 80 Gb ATA133 Hard disk for my desktop running man