|
From: | Jason Lenz |
Subject: | Re: tarlz: error archiving broken symbolic link |
Date: | Sun, 13 Mar 2022 15:20:40 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 |
On 3/9/22 10:56, Antonio Diaz Diaz wrote:
I really do not want to do such things in tarlz. GNU tar aims at working everywhere (and supporting all tar formats), but I just want tarlz to work correctly on well-behaved systems. I think I'll just make tarlz emit a diagnostic when it finds a symlink with a st_size of 0.This seems like something the restic development team probably needs to fix on their fuse system implementation, but admittedly I'm not an expert on how fuse systems work. I will reach out to them to see if indeed this is something they can/should fix.Thank you. Fixing their fuse filesystem implementation is the best solution. It would spare other tools from working around the bug, and would even make GNU tar more efficient at reading symlinks (no need to loop).
The symlink size of zero was indeed the issue as to why tarlz would not work with the Restic fuse filesystem. I worked with someone from the Restic team to update their fuse filesystem implementation to comply with POSIX symlink sizes. After making the updates tarlz worked great. More info in the link below:
https://github.com/restic/restic/issues/3667 Thanks again, Jason
[Prev in Thread] | Current Thread | [Next in Thread] |