squashfuse-mounted file systems do not have . and .. files show up from getdents() calls, as is the case with most filesystem mounts including those mounted by the kernel squashfs.
To reproduce:
$ mkdir -p d/d1 mnt
$ touch d/d1/.dotfile
$ mksquashfs d d.squashfs
$ squashfuse d.squashfs mnt
$ ls -a mnt/d1
.dotfile
$ fusermount -u mnt
$ sudo mount -t squashfs d.squashfs mnt
$ ls -a mnt/d1
. .. .dotfile
$ sudo umount mnt
In a lot of cases this probably doesn't matter, but it does in some. For example it can cause kinit to crash, see apptainer/apptainer#2143.
squashfuse-mounted file systems do not have
.
and..
files show up fromgetdents()
calls, as is the case with most filesystem mounts including those mounted by the kernel squashfs.To reproduce:
In a lot of cases this probably doesn't matter, but it does in some. For example it can cause
kinit
to crash, see apptainer/apptainer#2143.