1994-05-26 06:35:07 +00:00
|
|
|
.\" Copyright (c) 1993, 1994
|
|
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software donated to Berkeley by
|
|
|
|
.\" Christopher G. Demetriou.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
2017-02-28 23:42:47 +00:00
|
|
|
.\" 3. Neither the name of the University nor the names of its contributors
|
1994-05-26 06:35:07 +00:00
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" @(#)mount_cd9660.8 8.3 (Berkeley) 3/27/94
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1999-07-12 20:04:59 +00:00
|
|
|
.\"
|
2018-08-11 08:34:24 +00:00
|
|
|
.Dd August 11, 2018
|
1994-05-26 06:35:07 +00:00
|
|
|
.Dt MOUNT_CD9660 8
|
2001-07-10 11:04:34 +00:00
|
|
|
.Os
|
1994-05-26 06:35:07 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm mount_cd9660
|
2002-08-21 18:11:48 +00:00
|
|
|
.Nd mount an ISO-9660 file system
|
1994-05-26 06:35:07 +00:00
|
|
|
.Sh SYNOPSIS
|
2000-11-20 16:52:27 +00:00
|
|
|
.Nm
|
2001-03-11 10:06:28 +00:00
|
|
|
.Op Fl begjrv
|
2004-05-17 08:35:43 +00:00
|
|
|
.Op Fl C Ar charset
|
1994-05-26 06:35:07 +00:00
|
|
|
.Op Fl o Ar options
|
1997-12-29 07:03:46 +00:00
|
|
|
.Op Fl s Ar startsector
|
2004-11-13 17:26:54 +00:00
|
|
|
.Ar special node
|
1994-05-26 06:35:07 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
1998-03-19 07:46:04 +00:00
|
|
|
.Nm
|
2002-08-21 18:11:48 +00:00
|
|
|
utility attaches the ISO-9660 file system residing on the device
|
1994-05-26 06:35:07 +00:00
|
|
|
.Pa special
|
2002-08-21 18:11:48 +00:00
|
|
|
to the global file system namespace at the location indicated by
|
1994-05-26 06:35:07 +00:00
|
|
|
.Pa node .
|
|
|
|
This command is normally executed by
|
|
|
|
.Xr mount 8
|
|
|
|
at boot time.
|
|
|
|
.Pp
|
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width indent
|
2001-03-11 10:06:28 +00:00
|
|
|
.It Fl b
|
|
|
|
Relax checking for Supplementary Volume Descriptor Flags field
|
|
|
|
which is set to a wrong value on some Joliet formatted disks.
|
1994-05-26 06:35:07 +00:00
|
|
|
.It Fl e
|
|
|
|
Enable the use of extended attributes.
|
|
|
|
.It Fl g
|
|
|
|
Do not strip version numbers on files.
|
|
|
|
(By default, if there are files with different version numbers on the disk,
|
|
|
|
only the last one will be listed.)
|
|
|
|
In either case, files may be opened without explicitly stating a
|
|
|
|
version number.
|
1999-04-18 10:58:03 +00:00
|
|
|
.It Fl j
|
2002-08-21 18:11:48 +00:00
|
|
|
Do not use any Joliet extensions included in the file system.
|
1994-05-26 06:35:07 +00:00
|
|
|
.It Fl o
|
|
|
|
Options are specified with a
|
|
|
|
.Fl o
|
|
|
|
flag followed by a comma separated string of options.
|
|
|
|
See the
|
|
|
|
.Xr mount 8
|
|
|
|
man page for possible options and their meanings.
|
1999-05-28 01:16:14 +00:00
|
|
|
The following cd9660 specific options are available:
|
2001-04-26 12:05:23 +00:00
|
|
|
.Pp
|
2013-03-05 23:05:43 +00:00
|
|
|
.Bl -tag -width "brokenjoliet" -compact
|
2001-04-26 12:05:23 +00:00
|
|
|
.It Cm extatt
|
1999-05-28 01:16:14 +00:00
|
|
|
Same as
|
|
|
|
.Fl e .
|
2001-04-26 12:05:23 +00:00
|
|
|
.It Cm gens
|
1999-05-28 01:16:14 +00:00
|
|
|
Same as
|
|
|
|
.Fl g .
|
2001-04-26 12:05:23 +00:00
|
|
|
.It Cm nojoliet
|
1999-05-28 01:16:14 +00:00
|
|
|
Same as
|
|
|
|
.Fl j .
|
2001-04-26 12:05:23 +00:00
|
|
|
.It Cm norrip
|
1999-05-28 01:16:14 +00:00
|
|
|
Same as
|
|
|
|
.Fl r .
|
2013-03-05 23:05:43 +00:00
|
|
|
.It Cm brokenjoliet
|
2001-03-11 10:06:28 +00:00
|
|
|
Same as
|
|
|
|
.Fl b .
|
1999-05-28 01:16:14 +00:00
|
|
|
.El
|
1994-05-26 06:35:07 +00:00
|
|
|
.It Fl r
|
2002-08-21 18:11:48 +00:00
|
|
|
Do not use any Rockridge extensions included in the file system.
|
1997-04-29 15:56:40 +00:00
|
|
|
.It Fl s Ar startsector
|
2002-08-21 18:11:48 +00:00
|
|
|
Start the file system at
|
1997-04-29 15:56:40 +00:00
|
|
|
.Ar startsector .
|
|
|
|
Normally, if the underlying device is a CD-ROM drive,
|
|
|
|
.Nm
|
|
|
|
will try to figure out the last track from the CD-ROM containing
|
2004-07-02 21:45:06 +00:00
|
|
|
data, and start the file system there.
|
|
|
|
If the device is not a CD-ROM,
|
2002-08-21 18:11:48 +00:00
|
|
|
or the table of contents cannot be examined, the file system will be
|
2004-07-02 21:45:06 +00:00
|
|
|
started at sector 0.
|
|
|
|
This option can be used to override the behaviour.
|
1997-04-29 15:56:40 +00:00
|
|
|
Note that
|
|
|
|
.Ar startsector
|
2004-07-02 21:45:06 +00:00
|
|
|
is measured in CD-ROM blocks, with 2048 bytes each.
|
|
|
|
This is the same
|
1997-04-29 15:56:40 +00:00
|
|
|
as for example the
|
|
|
|
.Cm info
|
|
|
|
command of
|
1999-08-16 20:56:31 +00:00
|
|
|
.Xr cdcontrol 1
|
1997-04-29 15:56:40 +00:00
|
|
|
is printing.
|
2002-03-15 14:56:53 +00:00
|
|
|
It is possible to mount an arbitrary session of a multi-session CD by specifying
|
2002-03-13 08:27:27 +00:00
|
|
|
the correct
|
|
|
|
.Ar startsector
|
|
|
|
here.
|
2003-09-26 20:26:25 +00:00
|
|
|
.It Fl C Ar charset
|
|
|
|
Specify local
|
|
|
|
.Ar charset
|
|
|
|
to convert Unicode file names when using Joliet extensions.
|
1997-04-29 15:56:40 +00:00
|
|
|
.It Fl v
|
|
|
|
Be verbose about the starting sector decisions made.
|
1994-05-26 06:35:07 +00:00
|
|
|
.El
|
2002-03-13 08:27:27 +00:00
|
|
|
.Sh EXAMPLES
|
2002-03-15 14:56:53 +00:00
|
|
|
The following command can be used to mount a Kodak Photo-CD:
|
|
|
|
.Pp
|
2005-10-03 17:24:51 +00:00
|
|
|
.Dl "mount_cd9660 -o rw -v -s 0 /dev/cd0 /cdrom"
|
1994-05-26 06:35:07 +00:00
|
|
|
.Sh SEE ALSO
|
1999-08-16 20:56:31 +00:00
|
|
|
.Xr cdcontrol 1 ,
|
1994-05-26 06:35:07 +00:00
|
|
|
.Xr mount 2 ,
|
|
|
|
.Xr unmount 2 ,
|
2017-03-23 02:57:08 +00:00
|
|
|
.Xr cd9660 5 ,
|
1994-05-26 06:35:07 +00:00
|
|
|
.Xr fstab 5 ,
|
2018-08-11 08:34:24 +00:00
|
|
|
.Xr mdconfig 8 ,
|
1994-05-26 06:35:07 +00:00
|
|
|
.Xr mount 8
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
1998-03-19 07:46:04 +00:00
|
|
|
.Nm
|
1999-11-15 03:13:23 +00:00
|
|
|
utility first appeared in
|
1996-08-23 20:36:11 +00:00
|
|
|
.Bx 4.4 .
|
2003-09-26 20:26:25 +00:00
|
|
|
.Pp
|
2004-05-17 08:35:43 +00:00
|
|
|
The Unicode conversion routine was added by
|
2014-06-20 09:40:43 +00:00
|
|
|
.An Ryuichiro Imura Aq Mt imura@ryu16.org
|
2004-05-17 08:35:43 +00:00
|
|
|
in 2003.
|
2005-01-18 10:09:38 +00:00
|
|
|
.Sh BUGS
|
|
|
|
POSIX device node mapping is currently not supported.
|
|
|
|
.Pp
|
|
|
|
Version numbers are not stripped if Rockridge extensions are in use.
|
2005-02-13 22:25:33 +00:00
|
|
|
In this case, accessing files that do not have Rockridge names without
|
2005-01-18 10:09:38 +00:00
|
|
|
version numbers gets the one with the lowest version number and not
|
|
|
|
the one with the highest.
|
|
|
|
.Pp
|
|
|
|
There is no ECMA support.
|