18fae3551SRodney W. Grimes.\" Copyright (c) 1993, 1994 28fae3551SRodney W. Grimes.\" The Regents of the University of California. All rights reserved. 38fae3551SRodney W. Grimes.\" All rights reserved. 48fae3551SRodney W. Grimes.\" 58fae3551SRodney W. Grimes.\" This code is derived from software donated to Berkeley by 68fae3551SRodney W. Grimes.\" Christopher G. Demetriou. 78fae3551SRodney W. Grimes.\" 88fae3551SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without 98fae3551SRodney W. Grimes.\" modification, are permitted provided that the following conditions 108fae3551SRodney W. Grimes.\" are met: 118fae3551SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright 128fae3551SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer. 138fae3551SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright 148fae3551SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer in the 158fae3551SRodney W. Grimes.\" documentation and/or other materials provided with the distribution. 16fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors 178fae3551SRodney W. Grimes.\" may be used to endorse or promote products derived from this software 188fae3551SRodney W. Grimes.\" without specific prior written permission. 198fae3551SRodney W. Grimes.\" 208fae3551SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 218fae3551SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 228fae3551SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 238fae3551SRodney W. Grimes.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 248fae3551SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 258fae3551SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 268fae3551SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 278fae3551SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 288fae3551SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 298fae3551SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 308fae3551SRodney W. Grimes.\" SUCH DAMAGE. 318fae3551SRodney W. Grimes.\" 32*dde3a7e1SJohn Baldwin.Dd December 6, 2024 338fae3551SRodney W. Grimes.Dt MOUNT_CD9660 8 349fe48c6eSRuslan Ermilov.Os 358fae3551SRodney W. Grimes.Sh NAME 368fae3551SRodney W. Grimes.Nm mount_cd9660 378fae3551SRodney W. Grimes.Nd mount an ISO-9660 file system 388fae3551SRodney W. Grimes.Sh SYNOPSIS 397c7fb079SRuslan Ermilov.Nm 408c602ed9SBoris Popov.Op Fl begjrv 41d04b5dfeSRuslan Ermilov.Op Fl C Ar charset 4282f2275bSRicardo Branco.Op Fl G Ar gid 4382f2275bSRicardo Branco.Op Fl m Ar mask 4482f2275bSRicardo Branco.Op Fl M Ar mask 458fae3551SRodney W. Grimes.Op Fl o Ar options 466ab51a15SPhilippe Charnier.Op Fl s Ar startsector 4782f2275bSRicardo Branco.Op Fl U Ar uid 48bcd84fb7SRuslan Ermilov.Ar special node 498fae3551SRodney W. Grimes.Sh DESCRIPTION 508fae3551SRodney W. GrimesThe 5168085a0eSPhilippe Charnier.Nm 52e1205e80SPhilippe Charnierutility attaches the ISO-9660 file system residing on the device 538fae3551SRodney W. Grimes.Pa special 548fae3551SRodney W. Grimesto the global file system namespace at the location indicated by 558fae3551SRodney W. Grimes.Pa node . 568fae3551SRodney W. GrimesThis command is normally executed by 578fae3551SRodney W. Grimes.Xr mount 8 588fae3551SRodney W. Grimesat boot time. 598fae3551SRodney W. Grimes.Pp 608fae3551SRodney W. GrimesThe options are as follows: 618fae3551SRodney W. Grimes.Bl -tag -width indent 628c602ed9SBoris Popov.It Fl b 638c602ed9SBoris PopovRelax checking for Supplementary Volume Descriptor Flags field 648c602ed9SBoris Popovwhich is set to a wrong value on some Joliet formatted disks. 658fae3551SRodney W. Grimes.It Fl e 668fae3551SRodney W. GrimesEnable the use of extended attributes. 678fae3551SRodney W. Grimes.It Fl g 688fae3551SRodney W. GrimesDo not strip version numbers on files. 698fae3551SRodney W. Grimes(By default, if there are files with different version numbers on the disk, 708fae3551SRodney W. Grimesonly the last one will be listed.) 718fae3551SRodney W. GrimesIn either case, files may be opened without explicitly stating a 728fae3551SRodney W. Grimesversion number. 7382f2275bSRicardo Branco.It Fl G Ar group 7482f2275bSRicardo BrancoSet the group of the files in the file system to 7582f2275bSRicardo Branco.Ar group . 76c1ad5b4bSJohn BaldwinThe default gid on volumes without extended attributes or Rockridge extensions 77c1ad5b4bSJohn Baldwinis zero. 7882f2275bSRicardo Branco.It Fl U Ar user 7982f2275bSRicardo BrancoSet the owner of the files in the file system to 8082f2275bSRicardo Branco.Ar user . 81c1ad5b4bSJohn BaldwinThe default uid on volumes without extended attributes or Rockridge extensions 82c1ad5b4bSJohn Baldwinis zero. 8382f2275bSRicardo Branco.It Fl m Ar mask 8482f2275bSRicardo BrancoSpecify the maximum file permissions for files 8582f2275bSRicardo Brancoin the file system. 86c1ad5b4bSJohn BaldwinFor example, a 8782f2275bSRicardo Branco.Ar mask 8882f2275bSRicardo Brancoof 89c1ad5b4bSJohn Baldwin.Li 544 90c1ad5b4bSJohn Baldwinlimits the owner to 91c1ad5b4bSJohn Baldwinread and execute permissions for files and 92c1ad5b4bSJohn Baldwinothers to only read permission. 9382f2275bSRicardo BrancoSee 9482f2275bSRicardo Branco.Xr chmod 1 9582f2275bSRicardo Brancofor more information about octal file modes. 9682f2275bSRicardo BrancoThe default 9782f2275bSRicardo Branco.Ar mask 98c1ad5b4bSJohn Baldwinis 7777. 99c1ad5b4bSJohn BaldwinThe default permissions on volumes without extended attributes or Rockridge 100c1ad5b4bSJohn Baldwinextensions is 555. 10182f2275bSRicardo Branco.It Fl M Ar mask 10282f2275bSRicardo BrancoSpecify the maximum file permissions for directories 10382f2275bSRicardo Brancoin the file system. 10482f2275bSRicardo BrancoSee the previous option's description for details. 10544e568e2SDaniel C. Sobral.It Fl j 10644e568e2SDaniel C. SobralDo not use any Joliet extensions included in the file system. 1078fae3551SRodney W. Grimes.It Fl o 1088fae3551SRodney W. GrimesOptions are specified with a 1098fae3551SRodney W. Grimes.Fl o 1108fae3551SRodney W. Grimesflag followed by a comma separated string of options. 1118fae3551SRodney W. GrimesSee the 1128fae3551SRodney W. Grimes.Xr mount 8 1138fae3551SRodney W. Grimesman page for possible options and their meanings. 11478fdfe3fSGuy HelmerThe following cd9660 specific options are available: 1151d6caf52SRuslan Ermilov.Pp 116e8e60cfaSJung-uk Kim.Bl -tag -width "brokenjoliet" -compact 1171d6caf52SRuslan Ermilov.It Cm extatt 11878fdfe3fSGuy HelmerSame as 11978fdfe3fSGuy Helmer.Fl e . 1201d6caf52SRuslan Ermilov.It Cm gens 12178fdfe3fSGuy HelmerSame as 12278fdfe3fSGuy Helmer.Fl g . 1231d6caf52SRuslan Ermilov.It Cm nojoliet 12478fdfe3fSGuy HelmerSame as 12578fdfe3fSGuy Helmer.Fl j . 1261d6caf52SRuslan Ermilov.It Cm norrip 12778fdfe3fSGuy HelmerSame as 12878fdfe3fSGuy Helmer.Fl r . 129e8e60cfaSJung-uk Kim.It Cm brokenjoliet 1308c602ed9SBoris PopovSame as 1318c602ed9SBoris Popov.Fl b . 13278fdfe3fSGuy Helmer.El 1338fae3551SRodney W. Grimes.It Fl r 1348fae3551SRodney W. GrimesDo not use any Rockridge extensions included in the file system. 135d6ef03d3SJoerg Wunsch.It Fl s Ar startsector 136d6ef03d3SJoerg WunschStart the file system at 137d6ef03d3SJoerg Wunsch.Ar startsector . 138d6ef03d3SJoerg WunschNormally, if the underlying device is a CD-ROM drive, 139d6ef03d3SJoerg Wunsch.Nm 140d6ef03d3SJoerg Wunschwill try to figure out the last track from the CD-ROM containing 1419806e231SRuslan Ermilovdata, and start the file system there. 1429806e231SRuslan ErmilovIf the device is not a CD-ROM, 143d6ef03d3SJoerg Wunschor the table of contents cannot be examined, the file system will be 1449806e231SRuslan Ermilovstarted at sector 0. 1459806e231SRuslan ErmilovThis option can be used to override the behaviour. 146d6ef03d3SJoerg WunschNote that 147d6ef03d3SJoerg Wunsch.Ar startsector 1489806e231SRuslan Ermilovis measured in CD-ROM blocks, with 2048 bytes each. 1499806e231SRuslan ErmilovThis is the same 150d6ef03d3SJoerg Wunschas for example the 151d6ef03d3SJoerg Wunsch.Cm info 152d6ef03d3SJoerg Wunschcommand of 1538288fd54SChris Costello.Xr cdcontrol 1 154d6ef03d3SJoerg Wunschis printing. 155424616bbSRuslan ErmilovIt is possible to mount an arbitrary session of a multi-session CD by specifying 15664f24fd5SMurray Stokelythe correct 15764f24fd5SMurray Stokely.Ar startsector 15864f24fd5SMurray Stokelyhere. 159c4f02a89SMax Khon.It Fl C Ar charset 160c4f02a89SMax KhonSpecify local 161c4f02a89SMax Khon.Ar charset 162c4f02a89SMax Khonto convert Unicode file names when using Joliet extensions. 163d6ef03d3SJoerg Wunsch.It Fl v 164d6ef03d3SJoerg WunschBe verbose about the starting sector decisions made. 1658fae3551SRodney W. Grimes.El 16664f24fd5SMurray Stokely.Sh EXAMPLES 16764f24fd5SMurray StokelyThe following command can be used to mount a Kodak Photo-CD: 168424616bbSRuslan Ermilov.Pp 1696e70d915SMarc Fonvieille.Dl "mount_cd9660 -o rw -v -s 0 /dev/cd0 /cdrom" 1708fae3551SRodney W. Grimes.Sh SEE ALSO 1718288fd54SChris Costello.Xr cdcontrol 1 , 1728fae3551SRodney W. Grimes.Xr mount 2 , 1738fae3551SRodney W. Grimes.Xr unmount 2 , 1741a720cbeSAlexander Ziaee.Xr cd9660 4 , 1758fae3551SRodney W. Grimes.Xr fstab 5 , 1764cfe5ad8SSevan Janiyan.Xr mdconfig 8 , 1778fae3551SRodney W. Grimes.Xr mount 8 1788fae3551SRodney W. Grimes.Sh HISTORY 1798fae3551SRodney W. GrimesThe 18068085a0eSPhilippe Charnier.Nm 181a8b4fa4aSKris Kennawayutility first appeared in 182c0b0bcf4SMike Pritchard.Bx 4.4 . 183c4f02a89SMax Khon.Pp 184d04b5dfeSRuslan ErmilovThe Unicode conversion routine was added by 185bd0891ceSBaptiste Daroussin.An Ryuichiro Imura Aq Mt imura@ryu16.org 186d04b5dfeSRuslan Ermilovin 2003. 1876087df9eSRuslan Ermilov.Sh BUGS 1886087df9eSRuslan ErmilovPOSIX device node mapping is currently not supported. 1896087df9eSRuslan Ermilov.Pp 1906087df9eSRuslan ErmilovVersion numbers are not stripped if Rockridge extensions are in use. 1910227791bSRuslan ErmilovIn this case, accessing files that do not have Rockridge names without 1926087df9eSRuslan Ermilovversion numbers gets the one with the lowest version number and not 1936087df9eSRuslan Ermilovthe one with the highest. 1946087df9eSRuslan Ermilov.Pp 1956087df9eSRuslan ErmilovThere is no ECMA support. 196