GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ETDUMP(1) FreeBSD General Commands Manual ETDUMP(1)

etdumpdump ISO-9660 El Torito boot catalog information

etdump [-f format] [-o file] file ...

This program reads El Torito boot catalog information from an ISO-9660 image and outputs it in various formats. 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:

format | format
Select the output format. Supported output formats are:
Human-readable text (default)
Each boot entry is emitted as a string suitable for passing to a sh-compatible eval command. The variables emitted are:
The platform ID from the section header. Set to 'default' for the initial (default) entry.
The system ID from the boot entry.
The starting LBA (2048-byte blocks) of the boot image.
The number of sectors (512-byte sectors) that comprise the boot image.
file | file
Write output to file. If ‘-’ is specified then standard out is used.

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

cd9660(4)

The etdump utility first appeared in FreeBSD 11.2

January 18, 2025 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.