1,fdisk -l fdisk -l 只能列出硬盘的分区表.容量大小以及分区类型,但看不到文件系统类型. 2,df -h df 命令是用来查看文件系统磁盘空间使用量的.但df 命令只会列出已挂载的文件系统信息,对于没有挂载的文件系统是查看不到的.使用这个命令可以很方便的查看已挂载的文件系统的空间使用量.剩余空间大小等信息. 3,parted parted is a disk partitioning and partition resizing program. It allows…
Linux下挂载文件系统有时候需要填写文件系统.但有的设备拿到手还不知道文件系统,这种情况,可以用 parted命令 # parted /dev/vda GNU Parted 3.2 Using /dev/vda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Model: Virtio Block Device (virtblk) Disk /dev/vda: .7GB Sector s…