xref: /netbsd/sbin/mount_cd9660/mount_cd9660.8 (revision bf9ec67e)
1.\" $NetBSD: mount_cd9660.8,v 1.16 2001/11/16 11:26:55 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. By default, cd9660 recodes file
95names read from a non-Rock Ridge disk to all lowercase characters.
96.Cm nomaplcase
97turns off this mapping.
98.It Cm norrip
99Do not use any Rockridge extensions included in the filesystem.
100.It Cm nrr
101Same as
102.Cm norrip .
103For compatibility with Solaris only.
104.It Cm rrcaseins
105Makes all lookups case-insensitive even for CD-ROMs with Rock-Ridge
106extensions (for Rock-Ridge, default is case-sensitive lookup).
107.El
108.El
109.Pp
110For compatibility with previous releases, following obsolete flags are
111still recognized:
112.Bl -tag -width indent
113.It Fl e
114Same as
115.Fl o
116.Cm extatt .
117.It Fl j
118Same as
119.Fl o
120.Cm nojoliet .
121.It Fl g
122Same as
123.Fl o
124.Cm gens .
125.It Fl r
126Same as
127.Fl o
128.Cm norrip .
129.El
130.Sh SEE ALSO
131.Xr mount 2 ,
132.Xr unmount 2 ,
133.Xr fstab 5 ,
134.Xr mount 8
135.Sh HISTORY
136The
137.Nm
138utility first appeared
139.Bx 4.4 .
140Support for Joliet filesystem appeared in
141.Nx 1.4 .
142Options
143.Cm nomaplcase
144and
145.Cm rrcaseins
146were added in
147.Nx 1.5 .
148.Sh BUGS
149For some cdroms the information in the Rock Ridge extension is wrong
150and the cdrom needs to be mounted with "norrip".  A sign that something
151is wrong is that the
152.Xr stat 2
153system call returns
154.Er EBADF
155causing, e.g., "ls -l" to fail with "Bad file descriptor".
156.Pp
157The cd9660 filesystem does not support the original "High Sierra"
158("CDROM001") format.
159.Pp
160POSIX device node mapping is currently not supported.
161.Pp
162Version numbers are not stripped if Rockridge extensions are in use.
163In this case, you have to use the original name of the file as recorded
164on disk, i.e. use uppercase and append the version number to the file.
165.Pp
166There is no ECMA support.
167