MOUNT_CD9660(8) | System Manager's Manual | MOUNT_CD9660(8) |
mount_cd9660
—
mount an ISO-9660 file system
mount_cd9660 |
[-G gid]
[-M mask]
[-m mask]
[-o options]
[-U uid]
special node |
The mount_cd9660
command attaches the
ISO-9660 file system residing on the device special
to the global file system namespace at the location indicated by
node. Both special and
node are converted to absolute paths before use.
The options are as follows:
-G
group-M
mask-m
description for details.-m
mask755
specifies that, by default, the owner should have read, write, and execute
permissions for files, but others should only have read and execute
permissions). See chmod(1)
for more information about octal file modes. Only the nine low-order bits
of mask are used. The default
mask on non-Rockridge volumes is 755.-o
-o
flag followed by a
comma separated string of options. Besides options mentioned in
mount(8) man page, following
cd9660-specific options are supported:
extatt
gens
In either case, files may be opened without giving a
version number, in which case you get the last one, or by explicitly
stating a version number (albeit it's quite difficult to know it, if
you are not using the gens
option), in which
case you get the specified version.
nocasetrans
nomaplcase
.nojoliet
Interpretation of Joliet extensions is enabled by default, Unicode file names are encoded into UTF-8.
nomaplcase
nomaplcase
turns off this mapping.norrip
nrr
norrip
. For compatibility with Solaris
only.rrcaseins
-U
userFor compatibility with previous releases, following obsolete flags are still recognized:
mount(2), unmount(2), fstab(5), mount(8), mscdlabel(8), vndconfig(8)
The mount_cd9660
utility first appeared
4.4BSD. Support for Joliet file system appeared in
NetBSD 1.4. Options
nomaplcase
and rrcaseins
were added in NetBSD 1.5. UTF-8 encoding of Unicode
file names for Joliet file systems was added in NetBSD
3.0.
For Joliet file systems, the Unicode file names used to be filtered to ISO-8859-1 character set. This changed in NetBSD 3.0, file names are encoded into UTF-8 now by default. The behaviour is controllable by the vfs.cd9660.utf8_joliet sysctl; the former behaviour is available by setting it to 0.
For some cdroms the information in the Rock Ridge extension is
wrong and the cdrom needs to be mounted with "norrip". A sign that
something is wrong is that the
stat(2) system call returns
EBADF
causing, e.g., "ls -l" to fail with
"Bad file descriptor".
The cd9660 file system does not support the original "High Sierra" ("CDROM001") format.
POSIX device node mapping is currently not supported.
Version numbers are not stripped if Rockridge extensions are in use. In this case, you have to use the original name of the file as recorded on disk, i.e. use uppercase and append the version number to the file.
There is no ECMA support.
February 1, 2024 | NetBSD 10.99 |