Page 1 of 1
Ddog - root home, dir sizes=0 ?
Posted: Mon Jun 12, 2023 7:16 pm
by dcung
Few days ago, I copied something (dirs/files) into root home - I wanted to know how much space it took.
I noticed that any directories in root home (/root), when you right click,properties -> all shows sizes=0.
I noticed in Bullseye at first. When I checked later, this also occurs in my Bookworm, but not in BusterDog.
I use Bullseye more, so I have checked this in more than 1 laptops, that my Bullseye are all showing the same symptoms.
I didn't think it was Thunar's bug since it only occurs in root home, but not anywhere else (bullseye Thunar v4.16.1, bookworm Thunar v4.18.4)
Anyone else see this or is it just me?
Note - this occur in Bullseye & Bookworm - Ddog/Thunar builds, not in Obdog/PCManFM builds.
- bullseye.png (41.03 KiB) Viewed 504 times
- bookworm.png (49.45 KiB) Viewed 504 times
- buster-ddog.png (43.65 KiB) Viewed 504 times
Re: Ddog - root home, dir sizes=0 ?
Posted: Tue Jun 13, 2023 8:51 am
by fredx181
dcung wrote:I noticed that any directories in root home (/root), when you right click,properties -> all shows sizes=0.
I noticed in Bullseye at first. When I checked later, this also occurs in my Bookworm, but not in BusterDog.
Yes, I notice too on Bookworm, btw it's not only when checking size in /root , for me it's in the whole 'virtual' filesystem (same for e.g. /usr/bin).
On my BusterDog setup with newer kernel (using overlay rather than aufs) it's the same (0 bytes showing) but OK on my original Busterdog with kernel 4.19 (using aufs).
So my guess is that it has something to do with the newer kernel (and specifically overlay ) that Bullseye and Bookworm use (and Thunar apparently doesn't like somehow).
Checked also booting Bookworm with kernel 4.19 and then it shows the sizes correctly.
I use always 'How Big?' for checking size, so didn't notice this Thunar problem earlier.
EDIT: Also checked KLV-Airedale (which has full XFCE including Thunar and booting with overlay) and it's same problem, showing 0 bytes in the virtual filesystem.
P.S. The switch to using overlay instead of aufs was needed because (from Bullseye on) the Debian kernel has no support for aufs anymore.
Re: Ddog - root home, dir sizes=0 ?
Posted: Tue Jun 13, 2023 11:08 am
by wiak
fredx181 wrote: Tue Jun 13, 2023 8:51 am
EDIT: Also checked KLV-Airedale (which has full XFCE including Thunar and booting with overlay) and it's same problem, showing 0 bytes in the virtual filesystem.
P.S. The switch to using overlay instead of aufs was needed because (from Bullseye on) the Debian kernel has no support for aufs anymore.
Just tried it in KLU-jam and same result. Interestingly, the problem doesn't exist, as far as I can see, when pcmanfm installed and used instead of Thunar.
Re: Ddog - root home, dir sizes=0 ?
Posted: Tue Jun 13, 2023 1:44 pm
by fredx181
wiak wrote: Tue Jun 13, 2023 11:08 am
fredx181 wrote: Tue Jun 13, 2023 8:51 am
EDIT: Also checked KLV-Airedale (which has full XFCE including Thunar and booting with overlay) and it's same problem, showing 0 bytes in the virtual filesystem.
P.S. The switch to using overlay instead of aufs was needed because (from Bullseye on) the Debian kernel has no support for aufs anymore.
Just tried it in KLU-jam and same result. Interestingly, the problem doesn't exist, as far as I can see, when pcmanfm installed and used instead of Thunar.
Yes, seems it's a Thunar thing, do you have any vision on this ? As I said, my assumption is that it has to do with overlay (as with aufs it's OK) , but can't be sure.
Re: Ddog - root home, dir sizes=0 ?
Posted: Tue Jun 13, 2023 7:19 pm
by dcung
fredx181 wrote: Tue Jun 13, 2023 8:51 am
.. it's in the whole 'virtual' filesystem (same for e.g. /usr/bin).
Yes, this is a more accurate problem description than "but not anywhere else".
I wanted to make sure that it wasn't something silly that I inadvertently did during build.
It seems like a Thunar 'bug' now...Other builds (OBDOG/PCManFM) that use non Thunar FM does not have this problem.
Re: Ddog - root home, dir sizes=0 ?
Posted: Wed Jun 14, 2023 12:02 pm
by wiak
fredx181 wrote: Tue Jun 13, 2023 1:44 pm
Yes, seems it's a Thunar thing, do you have any vision on this ?
I'm afraid not. I have no idea what Thunar relies on, nor the internal details of how overlayfs does its tricks... I'm guessing something to do with inodes handling/interpretation, where overlayfs presents its view of things and where Thunar extracts its view, but I haven't actually any clue about any of it. I do find it strange that overlayfs works fine overall, but Thunar somehow sees things differently (directory content size via properties) than when no overlay being used. Black magic.