On 3/26/23 21:26, Todd Zullinger wrote:

With the Live images, the OS is in LiveOS/squashfs.img,
which itself contains only the rootfs.img.  So there's not
much exploring to be done there without extracting or
mountint the rootfs image.
With a plain iso it would be as easy as

iso-info -l myiso.iso

but for the livecd you have to go inside the squash fs with

iso-read -i myiso.iso -e /LiveOS/squashfs.img --output-file isotmp; unsquashfs 
-l isotmp

and it is still not enough since you have a filesystem inside, so

iso-read -i myiso.iso -e /LiveOS/squashfs.img --output-file isotmp
unsquashfs isotmp LiveOS/rootfs.img
e2ls squashfs-root/LiveOS/rootfs.img:/usr/bin -l

all done in a freshly created dir with some space, which you will remove at the 
end.
Unfortunately this can't be done in a single pipe without intermediate files.

Regards.

--
   Roberto Ragusa    mail at robertoragusa.it
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to