我想取消 xorriso 1.5.2 的“感谢您耐心等待...”更新消息,而是显示有关百分比的更多信息。
我当前的命令:
xorriso -as mkisofs -o "$ISOFILE" -V "$ISO_VOLUME_NAME" \
-c isolinux/boot.cat -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 \
-boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -R -J .
它的输出:
xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:test.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 522g free
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'=''
xorriso : UPDATE : 40 files added in 1 seconds
xorriso : UPDATE : 40 files added in 1 seconds
xorriso : UPDATE : 13.64% done
xorriso : UPDATE : 81.81% done
xorriso : UPDATE : Thank you for being patient. Working since 2 seconds.
xorriso : UPDATE : Thank you for being patient. Working since 3 seconds.
xorriso : UPDATE : Thank you for being patient. Working since 4 seconds.
xorriso : UPDATE : Thank you for being patient. Working since 5 seconds.
xorriso : UPDATE : Thank you for being patient. Working since 6 seconds.
xorriso : UPDATE : Thank you for being patient. Working since 7 seconds.
xorriso : UPDATE : Thank you for being patient. Working since 8 seconds.
ISO image produced: 339446 sectors
Written to medium : 339446 sectors at LBA 0
Writing to 'stdio:test.iso' completed successfully.
使用 xorriso 1.3.6 是这样的:
xorriso : UPDATE : 41 files added in 1 seconds
xorriso : UPDATE : 41 files added in 1 seconds
xorriso : UPDATE : 0.05% done
xorriso : UPDATE : 4.83% done
xorriso : UPDATE : 14.43% done, estimate finish Wed Feb 19 10:46:36 2020
xorriso : UPDATE : 21.72% done, estimate finish Wed Feb 19 10:46:36 2020
xorriso : UPDATE : 28.96% done, estimate finish Wed Feb 19 10:46:36 2020
xorriso : UPDATE : 36.67% done, estimate finish Wed Feb 19 10:46:36 2020
xorriso : UPDATE : 43.44% done, estimate finish Wed Feb 19 10:46:36 2020
xorriso : UPDATE : 50.68% done, estimate finish Wed Feb 19 10:46:36 2020
xorriso : UPDATE : 57.92% done, estimate finish Wed Feb 19 10:46:36 2020
xorriso : UPDATE : 62.75% done, estimate finish Wed Feb 19 10:46:37 2020
xorriso : UPDATE : 67.57% done, estimate finish Wed Feb 19 10:46:37 2020
xorriso : UPDATE : 74.81% done, estimate finish Wed Feb 19 10:46:37 2020
xorriso : UPDATE : 84.47% done, estimate finish Wed Feb 19 10:46:36 2020
xorriso : UPDATE : 89.29% done
xorriso : UPDATE : 96.53% done
我想用我现在使用的新版本获得相同的输出。
也许有一个参数?:)
先感谢您!
(如果您有更多问题,请发送邮件至 [email protected]。stackexchange 阻止了我的浏览器,因为 Google Captcha 需要更新的浏览器。)
您要查找的选项是 --stdio_sync 默认设置为“on”。但由于 xorriso-1.3.8 -as mkisofs 仿真将此默认设置更改为“关闭”。“on”会在每 16 MiB 后刷新一次磁盘。您可以选择较小的同步大小,例如“1m”。如果输入文件和新出现的 ISO 映像在同一个慢速磁盘上并且 RAM 稀疏,这可能会导致速度变慢。
仅当 -o 文件已经存在并因此调用 truncate(2) 时,才会对我产生较长的“谢谢”时间跨度。在这种情况下,最后的 close(2) 仅在 15 秒后返回,显然是在文件的缓冲区刷新到磁盘之后。因此,在 xorriso 运行之前删除“$ISOFILE”会缩短最后一次刷新时间。