简体   繁体   English

如何确定SD卡上的文件系统类型

[英]How to determine the type of file system on an SD Card

How to determine the type of file system on an SD Card (this card is not yet mounted. I need to determine the file system type so that i can mount the SDCard through a program according to the file system type) Or from the terminal. 如何确定SD卡上的文件系统类型(此卡尚未安装。我需要确定文件系统类型,以便我可以根据文件系统类型通过程序安装SDCard)或从终端。 For example "mount -t ext3 /dev/sdc1 /mnt" 例如“mount -t ext3 / dev / sdc1 / mnt”

You might do a file -s /dev/sdc1 and it could recognize the filesystem data. 您可以执行file -s /dev/sdc1 ,它可以识别文件系统数据。

And you might do mount -t auto /dev/sdc1 /mnt to have mount recognize it. 你可能会mount -t auto /dev/sdc1 /mnt来挂载识别它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM