Closed mtakao closed 3 years ago
Hi mtakao.
I've taken a look at the disksize module. It seems to only use df
and some awk to get the right values out, so this issue is likely something specific to your system, where df
is reporting an incorrect size briefly.
That said, I think it could also be that we're using df
's --total
flag, when we could be calculating the value ourselves using only real devices. If you check out the "21-disksize-real-only" branch, you can test out the version of disksize
on there if you'd like. Please let me know if it solves your problem, so I can make the merge into master.
Thank you for quick reply. I do not have enough knowledge to explore what is really causingthis issue but I've changed "tail -1" to grep '/home$'. after that it shows exactly same as df -h disk size. It was wired that initially shows less than 1T ssd size but still more than df -h size then maybe after 30-40 min later goes up more than actual ssd size . best regards
On Fri, 11 Dec 2020 at 6:56 AM, Archie Hilton < notifications@github.com > wrote: > Hi mtakao.
I've taken a look at the disksize module. It seems to only use df and some awk to get the right values out, so this issue is likely something specific to your system, where df is reporting an incorrect size briefly.
That said, I think it could also be that we're using df's --total flag, when we could be calculating the value ourselves using only real devices. If you check out the "21-disksize-real-only" branch, you can test out the version of disksize on there if you'd like. Please let me know if it solves your problem, so I can make the merge into master.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [https://github.com/thytom/dwmbar/issues/21#issuecomment-743152025], or unsubscribe [https://github.com/notifications/unsubscribe-auth/APMPWPUQDSSOIXZE2VF5BPTSUICINANCNFSM4UWA26MQ] .[https://github.com/notifications/beacon/APMPWPQBM2OQTUGO3VG2PA3SUICINA5CNFSM4UWA26M2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRFZTGI.gif]
Sent with Criptext secure email[https://api.criptext.com/email/open/%3C1607744880275.852090%40criptext.com%3E]
I am on Archlinux. disksize seems to be going up shortly after boot. My 1T SSD goes to 1.2T size.