xfs
[Top] [All Lists]

Re: Userspace cp and ls utility

To: Jan Dittmer <jdi@xxxxxxx>
Subject: Re: Userspace cp and ls utility
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sun, 23 Jul 2006 09:21:18 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <44C33080.3060108@xxxxxxx>
References: <44C0B0E4.7020403@xxxxxxx> <44C2EEC5.4020804@xxxxxxxxxxx> <44C33080.3060108@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (Macintosh/20060516)
Jan Dittmer wrote:
You could also try xfs_copy, it makes a copy of the filesystem and works on the underlying device, with the filesystem unmounted. There's a man page for it.

Is there any difference to using dd when the destination is no xfs
filesystem? And if I read the description correctly it does not allow
to copy individual files?

xfs_copy knows about the xfs format, so it only copies what it needs to. dd will copy every bit on the source disk. So, xfs_copy is more efficient. There is no option to copy individual files.

Depending on the problem with your original filesystem, perhaps xfs_copy might not be the best choice.

-Eric


<Prev in Thread] Current Thread [Next in Thread>