Canop / dysk

A linux utility to get information on filesystems, like df but better
https://dystroy.org/dysk
MIT License
890 stars 25 forks source link

Show the exact number of bytes #51

Closed stevenxxiu closed 1 year ago

stevenxxiu commented 2 years ago

When I run lfs, I get figures such as 5.3Mi.

Can there be an option to show the exact number of bytes? This can be done in df with df --block-size=1.

Canop commented 2 years ago

block-size=1 looks like a ridiculous hack: the block size is the data given by the system, not a kind of unit.

This could be done with dedicated columns. I'll probably do that. In the meantime, the JSON export can be used to get the precise data.

Be careful that "available" space isn't completely available in reality and too much precision here might make little sense.

Canop commented 1 year ago

Version 2.6.0 just released.