是否有一个命令可以显示各个分区和磁盘正在使用哪个文件系统(ext3,ext4,FAT32等)?
类似于如何sudo fdisk -l
列出有关磁盘和分区的信息?
@fred fdisk说“ Linux”和“ Linux swap”之类的东西,看不到它告诉我ext3还是ext4。
—
jg-faustus
不要按这个名字;通过文件系统去
—
Peter.O 2011年
Id
......如果83
,fdisk
报告为“Linux的, **gpart** as mentioned by Luke Maurer) reports it as **ext2** ,, same thing.. The drives I tested are Ext4 (but were reported as 'ext2' and 'Linux' by the two apps), but it seems that this identity is a higher abstraction. Whether you really need to go further is up to you... but the **Id** certainly gives you a pretty closes idea. (if you need to know specifically, perhaps 'gpart
全扫描模式下会做...(我还没有尝试它的全面扫描,但我怀疑这会不会多说(??)..
sudo fdisk -l
?,,,即使在没有安装驱动,菲斯克给你的文件系统类型,它是一个命令行工具....我卸除了我的两个驱动器(一个USB和一个内部)的,这工作得很好:sudo fdisk -l|grep "^/dev"