Skip to content

v2021.7.16-beta "rsync -rtl --inplace --no-W" does not actually hard link files #6

@walwan

Description

@walwan

Description

When I backup up one app with huge data, I found that my device space use will identifiably go up and I verified the data in /data/migrator/local/$pkgname is not hard-linked to the original data.

At lines 342 and 343, there is one commented "cp -dlR" command and one "rsync -rtl --inplace --no-W". After checking rsync document and this page (See here), I think probably the issue comes from this substitution. Although rsync is much faster than cp, its functions are somehow different.

Possible Solution

I am not quite sure whether the answers given in the StackExchange question are useful. Some more experiments might be necessary. I'm in the tg group, so perhaps we can use tg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions