MK9660(1)
πΏ MK9660(1) β create an ISO-9660 CD image πΏ
okay bestie, welcome to the General Commands Manual page for MK9660(1) β we're making ISO-9660 CD images and dump-style backup CD images, and it's giving vintage optical-disc main character energy. β¨
β¨ NAME β¨
dump9660,mk9660β create an ISO-9660 CD image
π SYNOPSIS π
mk9660 [ -:D ] [ -9cjr ] [ -b bootfile ] [ -p proto ] [ -s src ] [ -v volume ] image
dump9660 [ -:D ] [ -9cjr ] [ -p proto ] [ -s src ] [ -v volume ] [ -m maxsize ] [ -n now ] image
π DESCRIPTION π
mk9660 writes to the random access file image an ISO-9660 CD image containing the files named in proto (by default, /proto/allproto) from the file tree src (by default, the current directory). The proto file is formatted as described in proto(3).
In the synopsis, those show up as -p proto and -s src β cute little name tags, honestly. π
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.
Here's the flag tea, one by one:
-p proto,-s srcβ the proto file and the source file tree; defaults are/proto/allprotoand the current directory, respectively. β¨-cβ makesmk9660use only file names in β8.3β form that use digits, letters, and underscore. File names that do not conform are changed toDnnnnnn(for directories) orFnnnnnn(for files); a key file_CONFORM.MAPis created in the root directory to ease the reverse process.-9β if 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 by9660srv.-jβ if given, the usual directory tree is written, but an additional tree in Microsoft Joliet format is also added. This second tree can contain long Unicode file names, and can be read by9660srvas 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.MAPfile written as in the case of the-coption.-rβ if given, Rock Ridge extensions are written in the format of the system use sharing protocol; this format provides Posix-style file metadata and is common on Unix platforms.
mix-and-match tea: the options-c,-9,-j, and-rmay be mixed freely with the exception that-9and-rare mutually exclusive. π¨
-v volumeβ sets the volume title; if unspecified, the base name ofprotois used.-:β causesmk9660to replace colons in scanned file names with spaces; this is the inverse of the map applied by Plan 9'sdossrv(4)and is useful for writing Joliet CDs containing data from FAT file systems.-b bootfileβ creates a bootable CD. Bootable CDs contain pointers to floppy images which are loaded and booted by the BIOS.bootfileshould be the name of the floppy image to use; it is a path relative to the root of the created CD. That is, the boot floppy image must be listed in the proto file already: the-bflag just creates a pointer to it.-Dβ creates immense amounts of debugging output on standard error.
dump9660 is similar in specification to mk9660 but creates and updates backup CD images in the style of the dump file system (see Plan 9's fs(4)). The dump is file-based rather than block-based: if a file's contents have not changed since the last backup, only its directory entry will be rewritten.
-n nowβ specifies a time (in seconds since January 1, 1970) to be used for naming the dump directory.-m maxsizeβ specifies a maximum size for the image; if a backup would cause the image to grow larger thanmaxsize, it will not be written, anddump9660will exit with a non-empty status.
π EXAMPLE π
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.
mk9660 -9cj -s /n/bootes -p srcproto cdimage
π SOURCE π
/src/cmd/9660
π SEE ALSO π
proto(3)β go read it for the proto file format, bestie. π«Ά
π annnnnd that's the whole MK9660(1) page, bestie β the footer is literally just the manual name, no extra version/date drama, so we're done. stay iconic ππ₯π
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms