Skip to content

Instantly share code, notes, and snippets.

@lrvick
Last active October 17, 2020 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lrvick/fe84b1458bba48600cb2fe00a10fbc96 to your computer and use it in GitHub Desktop.
Save lrvick/fe84b1458bba48600cb2fe00a10fbc96 to your computer and use it in GitHub Desktop.
--- iso1
+++ iso2
├── isoinfo -l -i {} -R
│ @@ -1,11 +1,11 @@
│ Directory listing of /
│ dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 29 02] .
│ -dr-xr-xr-x 2 0 0 2048 Oct 16 2020 [ 29 02] ..
│ +dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 29 02] ..
│ dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 30 02] boot
│ -r--r--r-- 1 0 0 2048 Oct 16 2020 [ 36 00] boot.catalog
│ Directory listing of /boot/
│ dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 30 02] .
│ dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 29 02] ..
│ dr-xr-xr-x 2 0 0 2048 Oct 16 2020 [ 31 02] grub
--- iso2
+++ iso3
├── isoinfo -l -i {} -R
│ @@ -1,11 +1,11 @@
│ Directory listing of /
│ dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 29 02] .
│ -dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 29 02] ..
│ +dr-xr-xr-x 1 0 0 2048 Oct 16 2020 [ 29 02] ..
│ dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 30 02] boot
│ -r--r--r-- 1 0 0 2048 Oct 16 2020 [ 36 00] boot.catalog
│ Directory listing of /boot/
│ dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 30 02] .
│ dr-xr-xr-x 3 0 0 2048 Oct 16 2020 [ 29 02] ..
│ dr-xr-xr-x 2 0 0 2048 Oct 16 2020 [ 31 02] grub
lrvick:~/Sources/isotest$ tree rootfs
rootfs
└── boot
└── grub
├── grub.cfg
└── grub-eltorito.img
2 directories, 2 files
lrvick:~/Sources/isotest$ FAKETIME="@2020-10-16 23:49:48" LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1 genisoimage -J -r -b boot/grub/grub-eltorito.img -no-emul-boot -boot-load-size 4 -boot-info-table -o rootfs.iso9660 rootfs/
I: -input-charset not specified, using utf-8 (detected in locale settings)
Size of boot image is 4 sectors -> No emulation
Total translation table size: 2048
Total rockridge attributes bytes: 853
Total directory bytes: 4588
Path table size(bytes): 34
Max brk space used 23000
256 extents written (0 MB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment