Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141180771
D48513.id152520.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D48513.id152520.diff
View Options
diff --git a/share/man/man4/cd9660.4 b/share/man/man4/cd9660.4
--- a/share/man/man4/cd9660.4
+++ b/share/man/man4/cd9660.4
@@ -1,4 +1,6 @@
.\"
+.\" SPDX-License-Identifier: BSD-3-Clause
+.\"
.\" Copyright (c) 2017 Enji Cooper
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -23,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd April 25, 2023
+.Dd January 18, 2025
.Dt CD9660 4
.Os
.Sh NAME
@@ -57,6 +59,7 @@
.Pp
.Dl "mount -t cd9660 /dev/cd0 /mnt"
.Sh SEE ALSO
+.Xr etdump 1 ,
.Xr nmount 2 ,
.Xr unmount 2 ,
.Xr cd 4 ,
diff --git a/usr.bin/etdump/etdump.1 b/usr.bin/etdump/etdump.1
--- a/usr.bin/etdump/etdump.1
+++ b/usr.bin/etdump/etdump.1
@@ -1,3 +1,6 @@
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
.\" Copyright (c) 2018 iXsystems, Inc
.\" All rights reserved.
.\"
@@ -22,51 +25,54 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd April 25, 2018
-.Dt ETDUMP 8
+.Dd January 18, 2025
+.Dt ETDUMP 1
.Os
.Sh NAME
.Nm etdump
-.Nd Dump El Torito boot catalog information from ISO images
+.Nd dump ISO-9660 El Torito boot catalog information
.Sh SYNOPSIS
.Nm
.Op Fl f Ar format
.Op Fl o Ar file
.Ar
.Sh DESCRIPTION
-This program reads El Torito boot catalog information from an ISO 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.
+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.
.Pp
Supported options are:
.Bl -tag -width flag
-.It Fl f Ar format Fl -format Ar format
+.It Fl f Ar format | Fl -format Ar format
Select the output format.
Supported output formats are:
-.Bl -tag -width shell -offset indent
-.It Sy text
+.Bl -tag -width indent
+.It Cm text
Human-readable text (default)
-.It Sy shell
-Each boot entry is emitted as a string suitable for passing to a sh-compatible
-eval command.
+.It Cm shell
+Each boot entry is emitted as a string
+suitable for passing to a sh-compatible eval command.
The variables emitted are:
-.Bl -tag -width et_platform -offset indent
-.It et_platform
+.Bl -tag -width "et_platform"
+.It Dv et_platform
The platform ID from the section header.
Set to 'default' for the initial (default) entry.
-.It et_system
+.It Dv et_system
The system ID from the boot entry.
-.It et_lba
+.It Dv et_lba
The starting LBA (2048-byte blocks) of the boot image.
-.It et_sectors
+.It Dv et_sectors
The number of sectors (512-byte sectors) that comprise the boot image.
.El
.El
-.It Fl o Ar file Fl -output Ar file
+.It Fl o Ar file | Fl -output Ar file
Write output to
.Ar file .
-If '-' is specified then standard out is used.
+If
+.Ql -
+is specified then standard out is used.
.El
.Sh EXAMPLES
To see what entries are in a given boot catalog run
@@ -87,14 +93,16 @@
Media type: no emulation
.Ed
.Pp
-To use the output in a shell script a for loop can be used to iterate over the
-entries returned using eval:
+To use the output in a shell script a for loop can be used
+to iterate over the entries returned using eval:
.Bd -literal -offset indent
for entry in `etdump --format shell bootonly.iso`; do
eval $entry
echo $et_platform $et_system $et_lba $et_sectors
done
.Ed
+.Sh SEE ALSO
+.Xr cd9660 4
.Sh HISTORY
The
.Nm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 3, 12:01 AM (18 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27465001
Default Alt Text
D48513.id152520.diff (3 KB)
Attached To
Mode
D48513: etdump.1: Polish + xref cd9660(4)
Attached
Detach File
Event Timeline
Log In to Comment