1.1

Linux下识别分区文件系统类型

Linux下挂载文件系统有时候需要填写文件系统.但有的设备拿到手还不知道文件系统,这种情况,可以用

方式1:

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: 53.7GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name      Flags
 1      1049kB  3146kB  2097kB               biosboot  bios_grub
 2      3146kB  53.7GB  53.7GB  ext4         rootfs    boot, esp

parted下执行q命令可退出

 方式2:

lsblk -f

 

posted @ 2017-09-11 09:09  asml  阅读(793)  评论(0编辑  收藏  举报
@.@