iodéOS 2.2 > S9 > /data/user/0: Reason for hard link instead of symbolic link?

Dear iodé Team,

Many thanks for the recent iodéOS 2.2 update :+1:. When I ran my first script based backup of the data partition, I noticed that it was significantly larger (almost a factor of 2x) than the backup I made under iodéOS 2.1 before the update. My backup script is based on tar and skips symbolic links.

The increased size seems to be due to a different link type of the directory /data/user/0.

iodéOS 2.1: /data/user/0 = symbolic link to /data/data
iodéOS 2.2: /data/user/0 = hard link to /data/data

Is there any particular reason for replacing the former symbolic link by a hard link?
Was this change introduced by the iodé team or by the LineageOS team?

Thanks & Regards
Tom

Hi, this has probably been changed in lineage, not by us.
You may explicitly exclude that path from your tar-based script (-X option).

Thanks vince31fr,

You may explicitly exclude that path from your tar-based script (-X option).

That’s in fact what I did, after I had found that hard link. And it did reduce the backup size significantly.

Regards
Tom