xref: /netbsd-src/sbin/mount_cd9660/mount_cd9660.8 (revision 37b34d511dea595d3ba03a661cf3b775038ea5f8)
1.\" $NetBSD: mount_cd9660.8,v 1.17 2002/10/01 13:40:38 wiz Exp $
2.\"
3.\" Copyright (c) 1993, 1994
4.\"     The Regents of the University of California.  All rights reserved.
5.\"
6.\" This code is derived from software donated to Berkeley by
7.\" Christopher G. Demetriou.
8.\"
9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions
11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright
13.\"    notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\"    notice, this list of conditions and the following disclaimer in the
16.\"    documentation and/or other materials provided with the distribution.
17.\" 3. All advertising materials mentioning features or use of this software
18.\"    must display the following acknowledgement:
19.\"	This product includes software developed by the University of
20.\"	California, Berkeley and its contributors.
21.\" 4. Neither the name of the University nor the names of its contributors
22.\"    may be used to endorse or promote products derived from this software
23.\"    without specific prior written permission.
24.\"
25.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
26.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
29.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35.\" SUCH DAMAGE.
36.\"
37.\"     @(#)mount_cd9660.8	8.3 (Berkeley) 3/27/94
38.\"
39.Dd July 15, 2000
40.Dt MOUNT_CD9660 8
41.Os
42.Sh NAME
43.Nm mount_cd9660
44.Nd mount an ISO-9660 filesystem
45.Sh SYNOPSIS
46.Nm ""
47.Op Fl o Ar options
48.Ar special node
49.Sh DESCRIPTION
50The
51.Nm
52command attaches the ISO-9660 filesystem residing on the device
53.Pa special
54to the global filesystem namespace at the location indicated by
55.Pa node .
56This command is normally executed by
57.Xr mount 8
58at boot time.
59.Pp
60The options are as follows:
61.Bl -tag -width indent
62.It Fl o
63Options are specified with a
64.Fl o
65flag followed by a comma separated string of options.
66Besides options mentioned in
67.Xr mount 8
68man page, following cd9660-specific options are supported:
69.Bl -tag -width indent
70.It Cm extatt
71Enable the use of extended attributes.
72.It Cm gens
73Do not strip version numbers on files and leave the case of the filename
74alone.
75(By default, uppercase characters are translated to lowercase,
76and if there are files with different version numbers on the disk,
77only the last one will be listed.)
78.Pp
79In either case, files may be opened without giving a
80version number, in which case you get the last one, or by explicitly
81stating a version number (albeit it's quite difficult to know it, if
82you are not using the
83.Cm gens
84option), in which case you get the specified version.
85.It Cm nojoliet
86Do not make use of Joliet extensions for long filenames which
87may be present in the filesystem.
88.Pp
89Interpretation of Joliet extensions is enabled by default, but
90currently does not support Unicode characters present in some
91Joliet filesystems.
92.It Cm nomaplcase
93File names on cd9660 cdrom without Rock Ridge extension present
94should be uppercase only.
95By default, cd9660 recodes file
96names read from a non-Rock Ridge disk to all lowercase characters.
97.Cm nomaplcase
98turns off this mapping.
99.It Cm norrip
100Do not use any Rockridge extensions included in the filesystem.
101.It Cm nrr
102Same as
103.Cm norrip .
104For compatibility with Solaris only.
105.It Cm rrcaseins
106Makes all lookups case-insensitive even for CD-ROMs with Rock-Ridge
107extensions (for Rock-Ridge, default is case-sensitive lookup).
108.El
109.El
110.Pp
111For compatibility with previous releases, following obsolete flags are
112still recognized:
113.Bl -tag -width indent
114.It Fl e
115Same as
116.Fl o
117.Cm extatt .
118.It Fl j
119Same as
120.Fl o
121.Cm nojoliet .
122.It Fl g
123Same as
124.Fl o
125.Cm gens .
126.It Fl r
127Same as
128.Fl o
129.Cm norrip .
130.El
131.Sh SEE ALSO
132.Xr mount 2 ,
133.Xr unmount 2 ,
134.Xr fstab 5 ,
135.Xr mount 8
136.Sh HISTORY
137The
138.Nm
139utility first appeared
140.Bx 4.4 .
141Support for Joliet filesystem appeared in
142.Nx 1.4 .
143Options
144.Cm nomaplcase
145and
146.Cm rrcaseins
147were added in
148.Nx 1.5 .
149.Sh BUGS
150For some cdroms the information in the Rock Ridge extension is wrong
151and the cdrom needs to be mounted with "norrip".
152A sign that something is wrong is that the
153.Xr stat 2
154system call returns
155.Er EBADF
156causing, e.g., "ls -l" to fail with "Bad file descriptor".
157.Pp
158The cd9660 filesystem does not support the original "High Sierra"
159("CDROM001") format.
160.Pp
161POSIX device node mapping is currently not supported.
162.Pp
163Version numbers are not stripped if Rockridge extensions are in use.
164In this case, you have to use the original name of the file as recorded
165on disk, i.e. use uppercase and append the version number to the file.
166.Pp
167There is no ECMA support.
168