Re: [PATCH 4/4] xfs_db: add command to copy directory trees out of filesystems

Eric Sandeen
2025-02-19T18:04:39Z

On 2/18/25 12:36 AM, Christoph Hellwig wrote:
> On Thu, Feb 06, 2025 at 03:03:32PM -0800, Darrick J. Wong wrote:
>> From: Darrick J. Wong <djwong@kernel.org>
>>
>> Aheada of deprecating V4 support in the kernel, let's give people a way
>> to extract their files from a filesystem without needing to mount.
>
> So I've wanted a userspace file access for a while, but if we deprecate
> the v4 support in the kernel that will propagte to libxfs quickly,
> and this code won't help you with v4 file systems either. So I don't
> think the rationale here seems very good.

I agree. And, I had considered "migrate your V4 fs via an older kernel" to
be a perfectly acceptable answer for the v4 deprecation scenario.

Christoph, can you say more about why you're eager for the functionality?

Thanks,
-Eric