Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnexpectedEof, error: "failed to fill whole buffer" #14

Open
gustawdaniel opened this issue Dec 9, 2022 · 0 comments
Open

UnexpectedEof, error: "failed to fill whole buffer" #14

gustawdaniel opened this issue Dec 9, 2022 · 0 comments

Comments

@gustawdaniel
Copy link

Reproduction:

cd tool
touch file
cargo run -- dump-ls file

I have ext4 but I see

Error: while processing 'file'

Caused by:
    0: failed to parse superblock
    1: failed to fill whole buffer

I added

            println!("ERR: {:?}", error);

in on_fs, and seen:

ERR: Custom { kind: UnexpectedEof, error: "failed to fill whole buffer" }

Reader seems to be ok

reader File { fd: 3, path: "/home/daniel/exp/ext4-rs/tool/file", read: true, write: false }
dmitry-zakablukov added a commit to passware/ext4-rs that referenced this issue Nov 23, 2023
…теперь не приводит к ошибке чтения файлов

Merge in CRATES/ext4-rs from feature/cases/PKM-2045 to master

* commit '36d1467e1a93966d907b3fcf4ff77a771babc2ef':
  [PKM-2045] Allow NOATIME flag for symlinks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant