From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2659 invoked from network); 13 Jan 1999 18:18:36 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 13 Jan 1999 18:18:36 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA31859 for ; Wed, 13 Jan 1999 12:56:11 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id KAA08732 for axp-list@redhat.com; Wed, 13 Jan 1999 10:56:05 -0700 From: Michal Jaegermann Message-Id: <199901131756.KAA08732@ellpspace.math.ualberta.ca> Subject: Re: A lil offtopic, but.. To: axp-list@redhat.com Date: Wed, 13 Jan 1999 10:56:05 -0700 (MST) In-Reply-To: <199901131641.LAA29517@northshore.shore.net> from "David R. Gavin" at Jan 13, 99 11:41:49 am Content-Type: text David R. Gavin wrote: > > > An even slicker way to migrate to a new filesystem that may not be the same > size: > > cd dir_to_move > tar cf - . | (cd target_directory ; tar xf -) As we are talking about Linux then 'cp -a ' works just dandy. Use 'cp -xdpR' if you want to be a bit more selective. Works on a contents of /dev as well. Try and see for yourself. :-) As this is a properly of GNU 'cp' do not try that on a system where this variant of 'cp' is not available. Yet another method is --pass option to 'cpio'. See 'man cpio' for more. Michal