Skip to content

Squashfs fails to write larger files #360

@Throvn

Description

@Throvn

When creating a squashfs filesystem using the folder structure below I expect to be able to unsquashfs the filesystem and get the same folder structure back.

root/
    a/
        large.bin
    b/
        ...

However, everything which would be written after the large.bin binary, won't be written. When trying to unpack the squashfs (using unsquashfs), an inode error is thrown.

get_metadata: failed to read block
FATAL ERROR: read_inode: failed to read inode 4784488:1512

Everything after the binary cannot be unsquashed. However, when trying to execute the binary, it is working as expected, therefore the squashing of the large file itself is successful.

The example is based on the filepath.Walk example, therefore a/ is walked before b/.
FYI, the file is around 10 mb.

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