Skip to content

df: should error on over-mounted device, but doesn't #3970

@jfinkels

Description

@jfinkels

When two devices are mounted at the same directory and the earlier one is given as a positional argument to df, then it should print to stderr the message:

df: cannot access '/dev/loop1': over-mounted by another device

uutils df does not do this, but GNU df does.

This corresponds to GNU test suite file tests/df/over-mount-device.sh.

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