8000 `df`: `--block-size` does not accept sizes with a suffix · Issue #3416 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

df: --block-size does not accept sizes with a suffix #3416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tertsdiepraam opened this issue Apr 17, 2022 · 1 comment · Fixed by #3441
Closed

df: --block-size does not accept sizes with a suffix #3416

tertsdiepraam opened this issue Apr 17, 2022 · 1 comment · Fixed by #3441
Labels

Comments

@tertsdiepraam
Copy link
Member

df currently only seems to handle sizes specified in bytes without any suffixes:

❯ df --block-size=3K
df: invalid --block-size argument

But with GNU it works:

❯ df --block-size=3K
Filesystem     3K-blocks      Used Available Use% Mounted on
...

Discovered by @gmnsii in #3414 (comment)

@jfinkels
Copy link
Collaborator

Even worse, it accepts the argument but does nothing with it currently: #3082.

cakebaker added a commit to cakebaker/coreutils that referenced this issue Apr 24, 2022
@tertsdiepraam tertsdiepraam linked a pull request Apr 24, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0