How can I see what file system mount is using when I use the -t auto flag?I am using a minimal build of Yocto Linux so I cannot simply use file to see what it is after the fact.
See what file system mount is using with -t auto
linux;filesystems;mount
The filesystem type is the third column in /proc/mounts; to extract that column, you can write:awk '{print $3}' /proc/mountsTo make it more specific, you need to match the second column with your mountpoint:awk \$2 == \$mountpoint\ {print \$3} /proc/mounts