2 ms·
On Linux, the general expectation is that files starting with a dot are invisible. This started out as a bug in an attempt to hide . and .. from the output of l
by jeroenhd 4y ago
On Linux, the general expectation is that files starting with a dot are invisible. This started out as a bug in an attempt to hide . and .. from the output of ls but became industry standard for Unix derived systems.
This is noot the case on NTFS (and probably other filesystems) as it has its own way to mark a file as hidden. This is a workaround to bring Linux behaviour into a non-Linux filesystem by adding the hidden flag based on the file name rather than the file attributes.
I'm sure this will fix all kinds of compatibility issues with applications using lower level APIs for file access and enumeration. It's a non-standard workaround, though, so it makes sense to put it in a mount flag.