xref: /freebsd/sbin/mount_cd9660/mount_cd9660.8 (revision a79b71281cd63ad7a6cc43a6d5673a2510b51630)
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. All advertising materials mentioning features or use of this software
17.\"    must display the following acknowledgement:
18.\"	This product includes software developed by the University of
19.\"	California, Berkeley and its contributors.
20.\" 4. Neither the name of the University nor the names of its contributors
21.\"    may be used to endorse or promote products derived from this software
22.\"    without specific prior written permission.
23.\"
24.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
25.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\"     @(#)mount_cd9660.8	8.3 (Berkeley) 3/27/94
37.\" $FreeBSD$
38.\"
39.Dd March 27, 1994
40.Dt MOUNT_CD9660 8
41.Os BSD 4
42.Sh NAME
43.Nm mount_cd9660
44.Nd mount an ISO-9660 filesystem
45.Sh SYNOPSIS
46.Nm mount_cd9660
47.Op Fl egjrv
48.Op Fl o Ar options
49.Op Fl s Ar startsector
50.Ar special | node
51.Sh DESCRIPTION
52The
53.Nm
54command attaches the ISO-9660 filesystem residing on the device
55.Pa special
56to the global filesystem namespace at the location indicated by
57.Pa node .
58This command is normally executed by
59.Xr mount 8
60at boot time.
61.Pp
62The options are as follows:
63.Bl -tag -width indent
64.It Fl e
65Enable the use of extended attributes.
66.It Fl g
67Do not strip version numbers on files.
68(By default, if there are files with different version numbers on the disk,
69only the last one will be listed.)
70In either case, files may be opened without explicitly stating a
71version number.
72.It Fl j
73Do not use any Joliet extensions included in the filesystem.
74.It Fl o
75Options are specified with a
76.Fl o
77flag followed by a comma separated string of options.
78See the
79.Xr mount 8
80man page for possible options and their meanings.
81The following cd9660 specific options are available:
82.Bl -tag -width indent
83.It extatt
84Same as
85.Fl e .
86.It gens
87Same as
88.Fl g .
89.It joliet
90Same as
91.Fl j .
92.It rrip
93Same as
94.Fl r .
95.El
96.It Fl r
97Do not use any Rockridge extensions included in the filesystem.
98.It Fl s Ar startsector
99Start the filesystem at
100.Ar startsector .
101Normally, if the underlying device is a CD-ROM drive,
102.Nm
103will try to figure out the last track from the CD-ROM containing
104data, and start the filesystem there.  If the device is not a CD-ROM,
105or the table of contents cannot be examined, the filesystem will be
106started at sector 0.  This option can be used to override the behaviour.
107Note that
108.Ar startsector
109is measured in CD-ROM blocks, with 2048 bytes each.  This is the same
110as for example the
111.Cm info
112command of
113.Xr cdcontrol 1
114is printing.
115.It Fl v
116Be verbose about the starting sector decisions made.
117.El
118.Sh SEE ALSO
119.Xr cdcontrol 1 ,
120.Xr mount 2 ,
121.Xr unmount 2 ,
122.Xr fstab 5 ,
123.Xr mount 8
124.Sh BUGS
125POSIX device node mapping is currently not supported.
126.Pp
127Version numbers are not stripped if Rockridge extensions are in use.
128In this case, accessing files that don't have Rockridge names without
129version numbers gets the one with the lowest version number and not
130the one with the highest.
131.Pp
132There is no ECMA support.
133.Sh HISTORY
134The
135.Nm
136utility first appeared in
137.Bx 4.4 .
138