To disable the mounting of uncommon filesystems in Linux, you can use the "noauto" option in the /etc/fstab file. The /etc/fstab file is used to specify how the system should mount various filesystems at boot time.
For example, to disable the mounting of a filesystem with the type "ntfs", you can add a line to the /etc/fstab file like this:
/dev/sda1 /mnt/ntfs ntfs noauto 0 0
This will prevent the system from automatically mounting the NTFS partition on /dev/sda1 at boot time.
You can also use the "noauto" option to prevent the system from automatically mounting other types of filesystems, such as "vfat", "exfat", or "hfsplus".
Note: Disabling the mounting of uncommon filesystems may prevent you from using certain features or peripherals on your system. You should consider the impact on your workload before making this change.