8000 select-file creates too many files with file-allocation=prealloc · Issue #2032 · aria2/aria2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
select-file creates too many files with file-allocation=prealloc #2032
Open
@milahu

Description

@milahu

when downloading torrents with file-allocation=prealloc and select-file=1,2,3
aria will create too many files (more than the selected files)

example:

        ┌───┬───┬───┬───┬───┬───┬───┬───┬───┐
chunks: │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │
        └───┴───┴───┴───┴───┴───┴───┴───┴───┘

        ┌─────────┬───┬────────────┬──────┐
 files: │    1    │ 2 │     3      │  4   │
        └─────────┴───┴────────────┴──────┘

with select-file=2 aria will create the files 1,2,3
because files 1,2 share the chunk 3
and files 2,3 share the chunk 4

bug is known, its even in the docs ^^

https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-file-allocation

Note

In multi file torrent downloads, the files adjacent forward to the specified files are also allocated if they share the same piece.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0