2 .\" Copyright (c) 2006, Sun Microsystems, Inc.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH HSFS 7FS "Nov 1, 2006"
8 hsfs \- High Sierra & ISO 9660 CD-ROM file system
12 \fBHSFS\fR is a file system type that allows users to access files on High
13 Sierra or \fBISO\fR 9660 format \fBCD-ROM\fR disks from within the SunOS
14 operating system. Once mounted, a \fBHSFS\fR file system provides standard
15 SunOS read-only file system operations and semantics, meaning that you can read
16 and list files in a directory on a High Sierra or \fBISO\fR 9660 \fBCD-ROM\fR
17 and applications can use standard UNIX system calls on these files and
21 This file system contains support for Rock Ridge, ISO 9660 Version 2 and Joliet
22 extensions. These extensions provide support for file names with a length of
23 at least 207 bytes, but only Rock Ridge extensions (with the exception of
24 writability and hard links) can provide file system semantics and file types as
25 they are found in UFS. The presence of Rock Ridge, ISO 9660 Version 2 and
26 Joliet is autodetected and the best-suitable available extension is used by
27 the HSFS driver for file name and attribute lookup.
30 If your \fB/etc/vfstab\fR file contains a line similar to the following:
34 /dev/dsk/c0t6d0s0 \(mi/hsfs hsfs \fB-no\fR ro
40 and \fB/hsfs\fR exists, you can mount an \fBHSFS\fR file system with either of
41 the following commands:
45 mount \fB-F\fR hsfs \fB-o\fR ro \fIdevice-special\fR \fIdirectory-name\fR
61 By default, Rock Ridge extensions are used if available, otherwise ISO 9660
62 Version 2, then Joliet are used. If neither extension is present HSFS defaults
63 to the standard capabilities of ISO 9660. Since so-called hybrid CD-ROMs that
64 contain multiple extensions are possible, you can use the following mount
65 options to deliberately disable the search for a specific extension or to
66 force the use of a specific extension even if a preferable type is present:
70 mount \fB-F\fR hsfs \fB-o\fR ro,nrr \fIdevice-special\fR \fIdirectory-name\fR
79 rr\(emrequest HSFS to use Rock Ridge extensions, if present. This is the
80 default behavior and does not need to be explicitly specified.
83 nrr\(emdisable detection and use of Rock Ridge extensions, even if present.
86 vers2\(emrequest HSFS to use \fIISO 9660\fR Version 2 extensions, even if Rock
90 novers2\(emdisable detection and use of \fIISO 9660\fR Version 2 extensions.
93 joliet\(emrequest HSFS to use Joliet extensions, even if Rock Ridge or \fIISO
94 9660\fR Version 2 extensions are available.
97 nojoliet\(emdisable detection and use of Joliet extensions.
100 Files on a High Sierra or \fBISO\fR 9660 \fBCD-ROM\fR disk have names of the
101 form \fIfilename.ext;version\fR, where \fIfilename\fR and the optional
102 \fIext\fR consist of a sequence of uppercase alphanumeric characters (including
103 ``_''), while the \fIversion\fR consists of a sequence of digits, representing
104 the version number of the file. \fBHSFS\fR converts all the uppercase
105 characters in a file name to lowercase, and truncates the ``;'' and version
106 information. If more than one version of a file is present on the
107 \fBCD-ROM\fR, only the file with the highest version number is accessible.
110 Conversion of uppercase to lowercase characters may be disabled by using the
111 \fB-o\fR \fBnomaplcase\fR option to \fBmount\fR(1M). (See
112 \fBmount_hsfs\fR(1M)).
115 If the \fBCD-ROM\fR contains Rock Ridge, ISO 9660 version 2 or Joliet
116 extensions, the file names and directory names may contain any character
117 supported under \fBUFS.\fR The names may also be upper and/or lower case and
118 are case sensitive. File name lengths can be as long as those of \fBUFS\fR.
121 Files accessed through \fBHSFS\fR have mode 555 (owner, group and world
122 readable and executable), uid 0 and gid 3. If a directory on the \fBCD-ROM\fR
123 has read permission, \fBHSFS\fR grants execute permission to the directory,
124 allowing it to be searched.
127 With Rock Ridge extensions, files and directories can have any permissions that
128 are supported on a \fBUFS\fR file system. However, under all write
129 permissions, the file system is read-only, with \fBEROFS\fR returned to any
133 Like High Sierra and \fBISO\fR 9660 \fBCD-ROMs\fR, HSFS supports only regular
134 files and directories. A Rock Ridge \fBCD-ROM\fR can support regular files,
135 directories, and symbolic links, as well as device nodes, such as block,
139 \fBExample 1 \fRSample Display of File System Files
142 If there is a file \fBBIG.BAR\fR on a High Sierra or \fBISO\fR 9660 format
143 \fBCD-ROM\fR it will show up as \fBbig.bar\fR when listed on a \fBHSFS\fR file
148 If there are three files
177 on a High Sierra or \fBISO\fR 9660 format \fBCD-ROM,\fR only the file
178 \fBBAR.BAZ;3\fR will be accessible. It will be listed as \fBbar.baz\fR.
183 \fBmount\fR(1M), \fBmount_hsfs\fR(1M), \fBvfstab\fR(4)
186 N. V. Phillips and Sony Corporation, \fISystem Description Compact Disc Digital
187 Audio\fR, ("Red Book").
190 N. V. Phillips and Sony Corporation, \fISystem Description of Compact Disc Read
191 Only Memory\fR, ("Yellow Book").
194 IR "Volume and File Structure of CD-ROM for Information Interchange", ISO
200 \fBhsfs: Warning: the file system... \fR
204 \fBdoes not conform to the ISO-9660 spec\fR
208 The specific reason appears on the following line. You might be attempting to
209 mount a \fBCD-ROM\fR containing a different file system, such as \fBUFS\fR.
215 \fBhsfs: Warning: the file system... \fR
219 \fBcontains a file [with an] unsupported type\fR
223 The \fBhsfs\fR file system does not support the format of some file or
224 directory on the \fBCD-ROM,\fR for example a record structured file.
230 \fBhsfs: hsnode table full, %d nodes allocated\fR
234 There are not enough \fBHSFS\fR internal data structure elements to handle all
235 the files currently open. This problem may be overcome by adding a line of the
236 form \fBset hsfs:nhsnode=\fR\fInumber\fR to the \fB/etc/system\fR system
237 configuration file and rebooting. See \fBsystem\fR(4).
243 Do not physically eject a \fBCD-ROM\fR while the device is still mounted as a
244 \fBHSFS\fR file system.
247 Under \fBMS-DOS\fR (for which \fBCD-ROMs\fR are frequently targeted), files
248 with no extension may be represented either as:
268 that is, with or without a trailing period. These names are not equivalent
269 under UNIX systems. For example, the names:
289 are not names for the same file under the UNIX system. This may cause confusion
290 if you are consulting documentation for \fBCD-ROMs\fR originally intended for
291 \fBMS-DOS\fR systems.
294 Use of the \fB-o\fR \fBnotraildot\fR option to \fBmount\fR(1M) makes it
295 optional to specify the trailing dot. (See \fBmount_hsfs\fR(1M)).
299 No translation of any sort is done on the contents of High Sierra or \fBISO\fR
300 9660 format \fBCD-ROMs\fR; only directory and file names are subject to
301 interpretation by \fBHSFS.\fR