Skip to content

df: df doesn't check if the input path is a filesystem #3246

Closed

Description

@crazystylus

For example when we pass /dev/sda3 to df, it should print details of /dev/sda3 instead of considering it as mount point/filesystem path. Below are some example outputs:
gnu df

$ df --out=source,target /dev/sda3 .
Filesystem     Mounted on
/dev/sda3      /root
/dev/sda3      /root

uutils df

../../../target/release/df --out=source,target /dev/sda3 .
Filesystem       Mounted on
udev             /dev
/dev/sda3      /root

Activity

  1. added a commit that references this issue on Apr 22, 2022
    ffda238
  2. added a commit that references this issue on Jun 30, 2022
    9b9d369
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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