(bash) For a specific directory, I need to determine the maximum file size supported by this file system. Perhaps the file system is installed on an external USB drive and may be FAT32, NTFS, exfat or ext2.
I know that I could partially guess the information from mount, but I would like to get a cleaner solution - plus in the case of exfat, it mountshows the file system type as "fuseblk".
(I am running Linux 3.2.0-4-686-pae # 1 SMP Debian 3.2.51-1 i686 GNU / Linux)
getconf FILESIZEBITS pathdoes not work to mount fuseblkthe exfat file system: it returns 32, which is inaccurate . Therefore, this is not a general solution.
source
share