@
ynyounuo 用 isoinfo -d -i 的 volume size * block size 和 du -b 的结果相比较是说明什么问题呢?
我发现 fedora server 35 的 iso 也是不一致的,但 sha256sum 和官网的是一致的
root@server:/c/iso# sha256sum Fedora-Server-dvd-x86_64-35-1.2.iso
3fe521d6c7b12c167f3ac4adab14c1f344dd72136ba577aa2bcc4a67bcce2bc6 Fedora-Server-dvd-x86_64-35-1.2.iso
root@server:/c/iso#
root@server:/c/iso# isoinfo -d -i Fedora-Server-dvd-x86_64-35-1.2.iso
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: Fedora-S-dvd-x86_64-35
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: 1089891
El Torito VD version 1 found, boot catalog is in sector 380
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 50BAD 330669
root@server:/c/iso#
root@server:/c/iso# /usr/bin/du -b Fedora-Server-dvd-x86_64-35-1.2.iso
2232418304 Fedora-Server-dvd-x86_64-35-1.2.iso
root@server:/c/iso#
root@server:/c/iso# stat Fedora-Server-dvd-x86_64-35-1.2.iso
File: Fedora-Server-dvd-x86_64-35-1.2.iso
Size: 2232418304 Blocks: 4360200 IO Block: 4096 regular file
Device: 801h/2049d Inode: 4194318 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ d) Gid: ( 1000/ d)
Access: 2021-11-20 00:03:38.167116659 +0800
Modify: 2021-11-05 07:15:49.224372134 +0800
Change: 2021-11-05 07:24:56.164238609 +0800
Birth: 2021-11-05 07:10:48.164996198 +0800
root@server:/c/iso#
root@server:/c/iso# bc
bc 1.07.1
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
1089891 * 2048
2232096768