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.
The filesystem type is the third column in /proc/mounts
; to extract that column, you can write:
awk '{print $3}' /proc/mounts
To make it more specific, you need to match the second column with your mountpoint:
awk "\$2 == \"$mountpoint\" {print \$3}" /proc/mounts
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다