Skip to content

tail huge-file >/dev/full panics with unwrap() #11809

@oech3

Description

@oech3
$ truncate -s 1GB /tmp/huge
$ tail /tmp/huge > /dev/full

thread 'main' (3191) panicked at src/uu/tail/src/tail.rs:594:37:
called `Result::unwrap()` on an `Err` value: Os { code: 28, kind: StorageFull, message: "No space left on device" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions