[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: from xfs to ext2/ext3



On Wed, Feb 27, 2002 at 09:24:09PM +0800, Michael C. Alonzo wrote:
> my /usr is currently in xfs.. now, i want to turn it 
> back to ext2/ext3... how should i do this?
> 
> is cp -a enough? or is there a debian/xfs way to do 
> this? tnx 

Yes, cp -a will work.  There are plenty of ways to do it.  Basically,
anything that gets all the files to the right place and keeps the
metadata intact is fine.  I often do something like this:
# cd /usr
# tar cf - . | (cd /new-usr && tar xvf -)

noah

-- 
 _______________________________________________________
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

Attachment: pgpWghsTbAdfh.pgp
Description: PGP signature


Reply to: