Unix & Linux: "mount -t TYPE /" - how to know that what could the "TYPE" be? (2 Solutions!!)
Channel: Roel Van de Paar
Date: 17/08/2020

Unix & Linux: "mount -t TYPE /" - how to know that what could the "TYPE" be?


The Question: OS: ex.: Ubuntu 10.04 - how to know that what does the "mount -t TYPE" knows? I
mean is there a command to list the supported filesystem types using with
mount??
UPDATE: is the following cmd always good?:
cat /proc/filesystems | awk '{print $NF}' | sed '/^$/d'
sysfs
rootfs
bdev
proc
cgroup
cpuset
tmpfs
devtmpfs
debugfs
securityfs
sockfs
pipefs
anon_inodefs
inotifyfs
devpts
ext3
ext2
ext4
ramfs
hugetlbfs
ecryptfs
fuse
fuseblk
fusectl
mqueue
binfmt_misc
iso9660
vfat
udf
reiserfs
xfs
jfs
msdos
ntfs
minix
hfs
hfsplus
qnx4
ufs
btrfs

Solutions: Please watch the whole video to see all solutions, in order of how many people found them helpful

== This solution helped 16 people ==
This should work for ubuntu as well as Debian, type the following:
cat /proc/filesystems
This will output what your current kernel supports
ah now i understand your question better, type:
 man mount
and scroll down to -t and there will be a list of supported filesystems that
mount it self supports, but this is dependent on what your kernal supports

With thanks & praise to God, and with thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license & others | With thanks to user yakamok (https://unix.stackexchange.com/users/17252), user LanceBaynes (https://unix.stackexchange.com/users/6960), user Gilles 'SO- stop being evil' (https://unix.stackexchange.com/users/885), user Chris Magnuson (https://unix.stackexchange.com/users/40309), and the Stack Exchange Network (http://unix.stackexchange.com/questions/36636). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com.