--
Ticket URL: <www.midnight-commander.org/ticket/2374>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center
Comment(by ossi):
calculating free space precisely makes no sense, as the file system
overhead is dynamic.
apart from that your example is rather obviously in kilobytes, not in
bytes.
generally speaking, more than three significant digits seldomly make much
sense.
in a proper gui, one would have a tooltip above the size label which would
display more precise information than usually on screen. in mc, a click-
activated "filesystem info" dialog could fill that role. don't make it an
option in the classical sense in any case.
--
Ticket URL: <www.midnight-commander.org/ticket/2374#comment:1>
* priority: major => trivial
--
Ticket URL: <www.midnight-commander.org/ticket/2374#comment:2>
Comment(by x905):
a may agree with p.1 (but i prefer to see exactly free space in bytes, and
this size should be updated one time per second if changed)
as for p.2 - calculated size of dirs _must_ be in bytes - i want to use it
to compare dirs after copy from removable media or from network (now i use
some script, but it not work on ftp)
--
Ticket URL: <www.midnight-commander.org/ticket/2374#comment:3>
* cc: go...@polanet.pl (added)
Comment:
Replying to [comment:3 x905]:
> i prefer to see exactly free space in bytes, and this size should be
updated one time per second if changed
You obviously have bad habit (every modern device and filesystem allocates
space in blocks) and didn't work over busy network. If you want to see
numbers changing just press ctrl-r, but it doesn't much sense anyway.
> calculated size of dirs _must_ be in bytes - i want to use it to compare
dirs after copy from removable media or from network
F9-c-c-s
And again - bad habit. If you don't trust your transmit media you _must_
use some md5 tool, syncing should be done via rsync or other appropriate
tools.
However the kilobyte_si option could be reimplemented to tristate, e.g.:
sizes=[binary|si|bytes]
where binary means human-readable with 2^10^ units, si human-readable with
10^3^ and bytes as plain numbers.
--
Ticket URL: <www.midnight-commander.org/ticket/2374#comment:4>
Comment(by x905):
Replying to [comment:4 gotar]:
> F9-c-c-s
this command dont compare dirs, but only files
> And again - bad habit. If you don't trust your transmit media you _must_
use some md5 tool, syncing should be done via rsync or other appropriate
tools.
i may not trust my memory )
anyway size of dir is good to be displayed exactly as user want: in bytes,
kb, mb ... (as option)
--
Ticket URL: <www.midnight-commander.org/ticket/2374#comment:5>
* branch_state: => no branch
* milestone: 4.7 => Future Releases
--
Ticket URL: <www.midnight-commander.org/ticket/2374#comment:6>