Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (8) — Plan9 3rd Edition (Vita Nuova)

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dossrv(4)

cdfs(4)

mkfs(8)

MK9660(8)

NAME

mk9660 − create an ISO-9660 CD image

SYNOPSIS

­disk/mk9660 [ ­-D ] [ ­-9cj ] [ -[abn] ­file ] [ ­-s src ] [ ­-v volume ] ­proto

DESCRIPTION

­Mk9660 writes to standard output an ISO-9660 CD image containing the files named in ­proto from the file tree ­src (default /).  The ­proto file is formatted as described in mkfs(8).

The created CD image will be in ISO-9660 format, but by default the file names will be stored in UTF-8 with no imposed length or character restrictions.  The ­-c flag causes ­9660srv to only use file names in “8.3” form that use digits, letters, and underscore.  File names that do not conform are changed to Dnnnnnn (for directories) or Fnnnnnn (for files); a key file ­_CONFORM.MAP is created in the root directory to ease the reverse process. 

If the ­-9 flag is given, the system use fields at the end of each directory entry will be populated with Plan directory information (owner, group, mode, full name); this is interpreted by 9660srv.

If the ­-j flag is given, the usual directory tree is written, but an additional tree in Microsoft Joliet format is alos added.  This second tree can contain long Unicode file names, and can be read by ­9660srv as well as most versions of Windows and many Unix clones.  The characters ∗, :, ;, ?, and ­\ are allowed in Plan 9 file names but not in Joliet file names; non-conforming file names are translated and a ­_CONFORM.MAP file written as in the case of the ­-c option. 

Any or all of -c, -9, and ­-j may be present. 

The -a, -b, and -n flags cause the abstract, biblio, and ­notice files (which must named by ­proto as well) to be marked as the CD abstract, bibliographic data, and copyright notice. 

The ­-v flag sets the volume title; if unspecified, ­proto is used. 

The ­-D flag creates immense amounts of debugging output on standard error. 

EXAMPLES

Create an image of the Plan 9 source tree, including a conformant ISO-9660 directory tree, Plan 9 extensions in the system use fields, and a Joliet directory tree. 

disk/mk9660 -9cj -s /n/bootes -n notice plan9proto >cdimage

SOURCE

­/sys/src/cmd/disk/mk9660.c

SEE ALSO

­9660srv (in dossrv(4)), cdfs(4), mkfs(8)

Plan 9  —  July 29, 2000

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026