檢視ISO檔案資訊
我們下載下傳Linux作業系統的ISO檔案時,如果沒有及時的重命名,可能會分不清哪個ISO檔案對應的是哪個版本系統。
比如,Oracle Linux 6.6的ISO檔案。
V52218-01.sio
從檔案名上,我們完全無從判斷該ISO檔案是哪個版本的系統。
所幸,我們有isoinfo。
[root[@huayd](http://my.oschina.net/huayd) ~]# isoinfo -d -i V52218-01.iso
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: OL6.6 x86_64 Disc 1 20141018
Volume set id:
Publisher id:
Data preparer id:
Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 1881190
El Torito VD version 1 found, boot catalog is in sector 632
Joliet with UCS level 3 found
Rock Ridge signatures version 1 found
Eltorito validation header:
Hid 1
Arch 0 (x86)
ID ''
Key 55 AA
Eltorito defaultboot header:
Bootid 88 (bootable)
Boot media 0 (No Emulation Boot)
Load segment 0
Sys type 0
Nsect 4
Bootoff 279 633
從isoinfo的輸出中,我們可以清晰的看到該ISO檔案所包含的作業系統版本等資訊。