实作学习:鳥哥私房菜 - 鳥哥的首頁
用file -s查看各磁盘文件系统及简述装置
Specifying the -s option causes file to also read argument files which are block or character special files. This is useful for determining the filesystem types of the data in raw disk partitions, which are block special files.
相关:Hex code or GUID
parted /dev/sda print裡的name。
gdisk /dev/sda、p裡的code及name (按q不存退出)
file -s /dev/sda:DOS/MBR boot sector (disk安装原始开机碟)
file -s /dev/sda1:data (part。partition)