NetBSD/usr.sbin/mscdlabel/mscdlabel.8
drochner f375ea19c6 -before adding a "partition", check for an ISO9660 filesystem,
and print out volume label and creation time
-if the drive cannot be open()ed read-write, try read-only and
 print the information
2004-07-04 14:11:44 +00:00

34 lines
812 B
Groff

.\" $NetBSD: mscdlabel.8,v 1.3 2004/07/04 14:11:44 drochner Exp $
.\"
.Dd June 30, 2004
.Dt MSCDLABEL 8
.Os
.Sh NAME
.Nm mscdlabel
.Nd generate disk label from CD track information
.Sh SYNOPSIS
.Nm
.Op Ar device
.Sh DESCRIPTION
.Nm
is used to generate a
.Nx
disk label from track information read from the CD. This way, data
of previous sessions of a multi-session CD can be accessed.
.Pp
.Nm
scans the CD's TOC, beginning with the last track.
For each data track where an ISO9660 filesystem is identified,
basic information (volume label, creation date) is printed and
a partition entry added to the in-core disklabel.
.Pp
The raw partition (typically partition
.Em c ,
but
.Em d
on i386 and some other platforms) is left alone during this process.
.Sh SEE ALSO
.Xr cdplay 1 ,
.Xr disklabel 8 ,
.Xr mbrlabel 8