ETDUMP(1)
π NAME π
etdump β dump ISO-9660 El Torito boot catalog information π
Okay so this is etdump(1), straight out of the General Commands Manual, and it's giving βISO-9660 El Torito boot catalog info goes brrr.β π
β¨ SYNOPSIS β¨
etdump [-f format] [-o file] file ...
πΈ DESCRIPTION πΈ
This program reads El Torito boot catalog information from an ISO-9660 image and outputs it in various formats. Lowkey iconic. It can be used to check the catalog in an image or to output catalog data in a format that can be used by other tools such as shell scripts. π¦
Supported options are:
-f formator--format formatβ Select the output format. Supported output formats are:textβ Human-readable text (default) πshellβ Each boot entry is emitted as a string suitable for passing to ash-compatibleevalcommand. The variables emitted are:et_platformβ The platform ID from the section header. Set to'default'for the initial (default) entry.et_systemβ The system ID from the boot entry.et_lbaβ The starting LBA (2048-byte blocks) of the boot image.et_sectorsβ The number of sectors (512-byte sectors) that comprise the boot image.
-o fileor--output fileβ Write output to file. If-is specified then standard out is used.
π EXAMPLES π
To see what entries are in a given boot catalog run etdump passing the filename of the image as an argument like so:
% etdump bootonly.iso
Image in bootonly.iso
Default entry
System i386
Start LBA 420 (0x1a4), sector count 4 (0x4)
Media type: no emulation
Section header: efi, final
Section entry
System i386
Start LBA 20 (0x14), sector count 1600 (0x640)
Media type: no emulation
To use the output in a shell script a for loop can be used to iterate over the entries returned using eval:
for entry in `etdump --format shell bootonly.iso`; do
eval $entry
echo $et_platform $et_system $et_lba $et_sectors
done
π¦ SEE ALSO π¦
cd9660(4) β go give it a lil look π
π HISTORY π
The etdump utility first appeared in FreeBSD 11.2 β¨
Signed off with main-character energy by Debian πΈ January 18, 2025 πΈ ETDUMP(1) π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2018 iXsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms