1.\" Copyright (c) 1993, 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" All rights reserved. 4.\" 5.\" This code is derived from software donated to Berkeley by 6.\" Christopher G. Demetriou. 7.\" 8.\" Redistribution and use in source and binary forms, with or without 9.\" modification, are permitted provided that the following conditions 10.\" are met: 11.\" 1. Redistributions of source code must retain the above copyright 12.\" notice, this list of conditions and the following disclaimer. 13.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" notice, this list of conditions and the following disclaimer in the 15.\" documentation and/or other materials provided with the distribution. 16.\" 3. Neither the name of the University nor the names of its contributors 17.\" may be used to endorse or promote products derived from this software 18.\" without specific prior written permission. 19.\" 20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)mount_cd9660.8 8.3 (Berkeley) 3/27/94 33.\" 34.Dd August 11, 2018 35.Dt MOUNT_CD9660 8 36.Os 37.Sh NAME 38.Nm mount_cd9660 39.Nd mount an ISO-9660 file system 40.Sh SYNOPSIS 41.Nm 42.Op Fl begjrv 43.Op Fl C Ar charset 44.Op Fl o Ar options 45.Op Fl s Ar startsector 46.Ar special node 47.Sh DESCRIPTION 48The 49.Nm 50utility attaches the ISO-9660 file system residing on the device 51.Pa special 52to the global file system namespace at the location indicated by 53.Pa node . 54This command is normally executed by 55.Xr mount 8 56at boot time. 57.Pp 58The options are as follows: 59.Bl -tag -width indent 60.It Fl b 61Relax checking for Supplementary Volume Descriptor Flags field 62which is set to a wrong value on some Joliet formatted disks. 63.It Fl e 64Enable the use of extended attributes. 65.It Fl g 66Do not strip version numbers on files. 67(By default, if there are files with different version numbers on the disk, 68only the last one will be listed.) 69In either case, files may be opened without explicitly stating a 70version number. 71.It Fl j 72Do not use any Joliet extensions included in the file system. 73.It Fl o 74Options are specified with a 75.Fl o 76flag followed by a comma separated string of options. 77See the 78.Xr mount 8 79man page for possible options and their meanings. 80The following cd9660 specific options are available: 81.Pp 82.Bl -tag -width "brokenjoliet" -compact 83.It Cm extatt 84Same as 85.Fl e . 86.It Cm gens 87Same as 88.Fl g . 89.It Cm nojoliet 90Same as 91.Fl j . 92.It Cm norrip 93Same as 94.Fl r . 95.It Cm brokenjoliet 96Same as 97.Fl b . 98.El 99.It Fl r 100Do not use any Rockridge extensions included in the file system. 101.It Fl s Ar startsector 102Start the file system at 103.Ar startsector . 104Normally, if the underlying device is a CD-ROM drive, 105.Nm 106will try to figure out the last track from the CD-ROM containing 107data, and start the file system there. 108If the device is not a CD-ROM, 109or the table of contents cannot be examined, the file system will be 110started at sector 0. 111This option can be used to override the behaviour. 112Note that 113.Ar startsector 114is measured in CD-ROM blocks, with 2048 bytes each. 115This is the same 116as for example the 117.Cm info 118command of 119.Xr cdcontrol 1 120is printing. 121It is possible to mount an arbitrary session of a multi-session CD by specifying 122the correct 123.Ar startsector 124here. 125.It Fl C Ar charset 126Specify local 127.Ar charset 128to convert Unicode file names when using Joliet extensions. 129.It Fl v 130Be verbose about the starting sector decisions made. 131.El 132.Sh EXAMPLES 133The following command can be used to mount a Kodak Photo-CD: 134.Pp 135.Dl "mount_cd9660 -o rw -v -s 0 /dev/cd0 /cdrom" 136.Sh SEE ALSO 137.Xr cdcontrol 1 , 138.Xr mount 2 , 139.Xr unmount 2 , 140.Xr cd9660 5 , 141.Xr fstab 5 , 142.Xr mdconfig 8 , 143.Xr mount 8 144.Sh HISTORY 145The 146.Nm 147utility first appeared in 148.Bx 4.4 . 149.Pp 150The Unicode conversion routine was added by 151.An Ryuichiro Imura Aq Mt imura@ryu16.org 152in 2003. 153.Sh BUGS 154POSIX device node mapping is currently not supported. 155.Pp 156Version numbers are not stripped if Rockridge extensions are in use. 157In this case, accessing files that do not have Rockridge names without 158version numbers gets the one with the lowest version number and not 159the one with the highest. 160.Pp 161There is no ECMA support. 162