Skip to content

df does not look for filesystem that directory is on #11780

@Gelbpunkt

Description

@Gelbpunkt

GNU coreutils will accept paths that are not mounts as parameters and output the filesystem they are from:

$ df /usr
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/nvme0n1p2 490150872 76337224 388841924  17% /

while uutils will only output something if the path given is the mountpoint

$ df /usr
df: no file systems processed

Sorry for the bad title, I wasn't really sure how to phrase this.

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