Jump to content


Photo

deleting trash


  • Please log in to reply
23 replies to this topic

Re: deleting trash #21 hcau1

  • Member
  • 6 posts

0
Neutral

Posted 4 December 2024 - 17:19

Indeed, 1000 and 1024. But is this not just OpenWebIF but also the OpenPLI own menu system. This could explain the small difference (I think) between both of them.

 

The problem being raised in this post is a different one. It is that over a period of time, most of the free capacity of the storage medium disappears.

As others have noted in this thread a reboot and as I noted here also a system file check, restores the proper "free" capacity value.

So maybe this sounds more like an deeper issue...

 

Its possible that the difference reported of capacity used between the OpenWebIF and OpenPLI UI menu's is caused by the 1000 vs 1024 difference.

But apart from these (small) differences, both report a comparable steady and gradual loss of free capacity. Would 1000 versus 1024 account for that?

 

The question might be how is the (available and used) capacity data reported to OpenWebIF and the OpenPLI UI menu's,  by ? (kernel?)



Re: deleting trash #22 littlesat

  • PLi® Core member
  • 57,463 posts

+708
Excellent

Posted 4 December 2024 - 17:48

For harddisks it should be '1000' not '1024' and this feels strange....  OpenWebIf shows a 'bit' less they are using 1024. OpenPLi uses in the about screen 1000... which follows showing a bit more capacity and free room left.... A number of bytes is reported which is calculated back to KB/MB/GB/TB in the code. Some times with 1000 as it should be and some times done with 1024, which feels better but is less pessimistic.... 


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: deleting trash #23 WanWizard

  • PLi® Core member
  • 70,901 posts

+1,833
Excellent

Posted 5 December 2024 - 00:56

The common misunderstanding between Gigabyte ( GB, uses a factor 1000 ) and Gibibyte ( GiB, uses factor 1024 ).

 

Drive hardware vendors (spinning or SSD) in general use GB, memory vendors (but usually not USB stick vendors) in general use GiB.

 

Which is why OpenPLi in about uses GB, so it matches what you bought, i.e. a 500GiB disk will show 500 GB (which technically is incorrect, but most people don't know what GiB means), and not 476GB (what the OS will report).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: deleting trash #24 littlesat

  • PLi® Core member
  • 57,463 posts

+708
Excellent

Posted 5 December 2024 - 13:30

And it seems OpenWebif shows GiB.... 


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users