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.\" %sccs.include.redist.roff%
9.\"
10.\"     @(#)mount_cd9660.8	8.2 (Berkeley) 01/23/94
11.Dd
12.Dt MOUNT_CD9660 8
13.Os NetBSD 0.9
14.Sh NAME
15.Nm mount_cd9660
16.Nd mount an ISO-9660 filesystem
17.Sh SYNOPSIS
18.Nm mount_cd9660
19.Op Fl F Ar fsoptions
20.Op Fl norrip
21.Op Fl gen
22.Op Fl extattr
23.Pa special
24.Pa node
25.Sh DESCRIPTION
26The
27.Nm mount_cd9660
28command attaches the ISO-9660 filesystem residing on
29the device
30.Pa special
31to the global filesystem namespace at the location
32indicated by
33.Pa node .
34This command is normally executed by
35.Xr mount 8
36at boot time.
37.Pp
38If the filesystem includes Rockridge extensions, they are
39used unless the
40.Fl norrip
41flag is used.  If that option is given to
42.Nm
43then the Rockridge extensions will be ignored.
44.Pp
45Version numbers on files are normally stripped on directory listings.
46If you want to see those, use the
47.Fl gen
48flag.
49Otherwise, if there are files with different version numbers on the disk,
50only the last one will be listed.
51In either case, you may open a file with or without explicitly stating the
52version number.
53.Pp
54If a disk contains extended attributes, they are normally ignored.
55You can enable the usage of extended attributes with the
56.Fl extattr
57flag.
58.Sh EXAMPLES
59.Bd -literal -offset indent -compact
60mount_cd9660 /dev/cd0d /cdrom
61mount_cd9660 \-norrip /dev/cd0d /cdrom
62mount_cd9660 \-norrip \-gen /dev/cd0d /cdrom
63mount \-t cd9660 /dev/cd0d /cdrom
64mount \-t cd9660 \-o \-norrip /dev/cd0d /cdrom
65mount \-t cd9660 \-o \-gen,\-extattr /dev/cd0d /cdrom
66.Ed
67.Sh SEE ALSO
68.Xr mount 2 ,
69.Xr unmount 2 ,
70.Xr fstab 5
71.Sh BUGS
72The cd9660 filesystem should support the original "High Sierra"
73("CDROM001") format;
74it does not.
75.Pp
76POSIX device node mapping is currently not supported.
77.Pp
78Version numbers are not stripped if Rockridge extensions are in use.
79In this case, accessing files that don't have Rockridge names without
80version numbers gets the one with the lowest version number and not
81the one with the highest.
82.Pp
83The filesystem name might need some rethinking, and some would
84say it should run as a user process.
85.Pp
86There is no ECMA support.
87.Sh HISTORY
88The
89.Nm mount_cd9660
90utility first appeared in NetBSD 0.8.
91Handling of Rockridge extensions was added for NetBSD 0.9.
92.Sh AUTHORS
93.Bl -tag
94Pace Willisson <pace@blitz.com>, <pace@bsdi.com> wrote the
95original version of the ISO-9660 filesystem.
96.Pp
97Atsushi Murai <amurai@spec.co.jp> wrote the Rockridge support.
98.Pp
99Chris Demetriou <cgd@berkeley.edu> wrote the man page.
100.El
101