Skip to content

Option -f, fix sizes shown in the table, on freeBSD#2331

Merged
ivan-hc merged 1 commit intomainfrom
fix-du-freebsd
May 8, 2026
Merged

Option -f, fix sizes shown in the table, on freeBSD#2331
ivan-hc merged 1 commit intomainfrom
fix-du-freebsd

Conversation

@ivan-hc
Copy link
Copy Markdown
Owner

@ivan-hc ivan-hc commented May 8, 2026

The "du" command in freeBSD doesn't have the -b option for bytes. With this commit, we're falling back on kilobytes (-k option), attempting to multiply them enough to provide an approximate byte value that's compatible with the new scheme provided by @fiftydinar in #2195

before after
Istantanea_2026-05-08_02-36-48 Istantanea_2026-05-08_02-35-46

The problem with the column command, however, is another story. Don't worry about the alignment. On FreeBSD, everything is a bit broken... but we'll gradually fix it.

@ivan-hc ivan-hc merged commit d4c6098 into main May 8, 2026
@ivan-hc ivan-hc deleted the fix-du-freebsd branch May 8, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant