Skip to content

df -k fails to select 1024-byte blocks #301

@jgarzik

Description

@jgarzik

After recent changes (it worked a while ago), df -k fails to select 1024-byte blocks.

cc @fox0

% ./target/release/df | head -2
Filesystem     512-blocks       Used  Available Capacity Mounted on
/dev/disk1s4s1  976490576  152157960  824332616      16% /         

% ./target/release/df -k | head -2
Filesystem     512-blocks       Used  Available Capacity Mounted on
/dev/disk1s4s1  976490576  152157952  824332624      16% /    

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions