xref: /openbsd/sbin/mount_cd9660/mount_cd9660.8 (revision f6aab3d8)
1.\"	$OpenBSD: mount_cd9660.8,v 1.25 2020/04/23 21:28:09 jmc Exp $
2.\"	$NetBSD: mount_cd9660.8,v 1.3 1995/04/23 10:33:13 cgd Exp $
3.\"
4.\" Copyright (c) 1993, 1994
5.\"     The Regents of the University of California.  All rights reserved.
6.\"
7.\" This code is derived from software donated to Berkeley by
8.\" Christopher G. Demetriou.
9.\"
10.\" Redistribution and use in source and binary forms, with or without
11.\" modification, are permitted provided that the following conditions
12.\" are met:
13.\" 1. Redistributions of source code must retain the above copyright
14.\"    notice, this list of conditions and the following disclaimer.
15.\" 2. Redistributions in binary form must reproduce the above copyright
16.\"    notice, this list of conditions and the following disclaimer in the
17.\"    documentation and/or other materials provided with the distribution.
18.\" 3. Neither the name of the University nor the names of its contributors
19.\"    may be used to endorse or promote products derived from this software
20.\"    without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\"     @(#)mount_cd9660.8	8.3 (Berkeley) 3/27/94
35.\"
36.Dd $Mdocdate: April 23 2020 $
37.Dt MOUNT_CD9660 8
38.Os
39.Sh NAME
40.Nm mount_cd9660
41.Nd mount an ISO 9660 filesystem
42.Sh SYNOPSIS
43.Nm mount_cd9660
44.Op Fl egjR
45.Op Fl o Ar options
46.Op Fl s Ar offset
47.Ar special node
48.Sh DESCRIPTION
49The
50.Nm
51command attaches the ISO 9660 filesystem residing on the device
52.Ar special
53to the global filesystem namespace at the location indicated by
54.Ar node .
55The filesystem is always mounted readonly.
56This command is invoked by
57.Xr mount 8
58when using the syntax
59.Bd -ragged -offset 4n
60.Nm mount Op options
61-t cd9660
62.Ar special node
63.Ed
64.Pp
65The options are as follows:
66.Bl -tag -width Ds
67.It Fl e
68Enable the use of extended attributes.
69.It Fl g
70Do not strip version numbers on files.
71(By default, if there are files with different version numbers on the disk,
72only the last one will be listed.)
73In either case, files may be opened without explicitly stating a
74version number.
75.It Fl j
76Do not use any Joliet extensions included in the filesystem.
77.It Fl o Ar options
78Options are specified with a
79.Fl o
80flag followed by a comma separated string of options.
81See the
82.Xr mount 8
83man page for possible options and their meanings.
84.It Fl R
85Do not use any Rockridge extensions included in the filesystem.
86.It Fl s Ar offset
87Use the session starting at
88.Ar offset
89(counted in 2048-byte blocks from the start of the media) instead of
90the last session from the Table of Contents (TOC).
91The TOC can be inspected by using
92.Xr cdio 1 .
93.El
94.Sh SEE ALSO
95.Xr cdio 1 ,
96.Xr mount 2 ,
97.Xr fstab 5 ,
98.Xr mount 8 ,
99.Xr umount 8 ,
100.Xr vnconfig 8
101.Sh HISTORY
102The
103.Nm
104utility first appeared in
105.Bx 4.4 .
106.Sh BUGS
107The cd9660 filesystem does not support the original "High Sierra"
108("CDROM001") format.
109.Pp
110POSIX device node mapping is currently not supported.
111.Pp
112Version numbers are not stripped if Rockridge extensions are in use.
113In this case, accessing files that don't have Rockridge names without
114version numbers gets the one with the lowest version number and not
115the one with the highest.
116.Pp
117There is no ECMA support.
118