bloggerads

2015年3月16日 星期一

UEFI : Shell Command & Information

EFI Shell "不" Support exFat / NTFS, 做成此類File System的碟機,只會看到有安裝BlkIo Protocol但看不到增加File system節點, 以下在shell底下研究map指令的輸出結果

從實驗的結果來看,幾個blockio handle的數量會等於partition的數量加上device的數量

幾個可被Uefi recognize的FileSystem(ex: fat32) 就會產生幾個 fs節點

USB Uefi Boot disk


Device mapping table

  fs0  :Removable HardDisk - Alias hd16b0c0b blk0 
        PciRoot(0x0)/Pci(0x1a,0x0)/USB(0x1,0x0)/USB(0x2,0x0)/HD(1,MBR,0x59d5afd7,0x3f,0xead5ff)
  blk0 :Removable HardDisk - Alias hd16b0c0b fs0 
        PciRoot(0x0)/Pci(0x1a,0x0)/USB(0x1,0x0)/USB(0x2,0x0)/HD(1,MBR,0x59d5afd7,0x3f,0xead5ff)
  blk1 :Removable BlockDevice - Alias (null)
        PciRoot(0x0)/Pci(0x1a,0x0)/USB(0x1,0x0)/USB(0x2,0x0)
  hd16b0c0b :Removable HardDisk - Alias fs0 blk0 
             PciRoot(0x0)/Pci(0x1a,0x0)/USB(0x1,0x0)/USB(0x2,0x0)/HD(1,MBR,0x59d5afd7,0x3f,0xead5ff)

<note>

HD(PartX,SigY)
Partition X on a disk with signature Y
Pci(1|0)
device/slot number 1
function number 0