[d78696a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[d78696a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-hfsutils" role="wrap">
|
---|
| 9 | <?dbhtml filename="hfsutils.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Hfsutils-&hfsutils-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-hfsutils">
|
---|
| 14 | <primary sortas="a-Hfsutils">Hfsutils</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Hfsutils package contains a number of utilities for accessing
|
---|
[b478bfa] | 21 | files on <systemitem class="filesystem">hfs</systemitem> filesystems.
|
---|
| 22 | It is needed to run <command>ybin</command>.</para>
|
---|
[d78696a] | 23 |
|
---|
| 24 | </sect2>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="installation">
|
---|
| 27 | <title>Installation of Hfsutils</title>
|
---|
| 28 |
|
---|
[b478bfa] | 29 | <para os="p1">Apply the following patch to add a missing
|
---|
| 30 | <filename>errno.h</filename> include and allow HFSutils to recognize
|
---|
| 31 | devices larger than 2GB:</para>
|
---|
[b3dfbf1] | 32 |
|
---|
| 33 | <screen os="p2"><userinput>patch -Np1 -i ../&hfsutils-fixes-patch;</userinput></screen>
|
---|
| 34 |
|
---|
[55ab27c] | 35 | <para os="a">Prepare Hfsutils for compilation:</para>
|
---|
[d78696a] | 36 |
|
---|
[7cd7f99] | 37 | <screen><userinput>./configure \
|
---|
| 38 | --prefix=/usr \
|
---|
| 39 | --mandir=/usr/share/man</userinput></screen>
|
---|
[d78696a] | 40 |
|
---|
[31f9809] | 41 | <para os="c">Compile the package:</para>
|
---|
[d78696a] | 42 |
|
---|
[55ab27c] | 43 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[d78696a] | 44 |
|
---|
[55ab27c] | 45 | <para os="e">Install the package:</para>
|
---|
[d78696a] | 46 |
|
---|
[55ab27c] | 47 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
[d78696a] | 48 |
|
---|
| 49 | </sect2>
|
---|
| 50 |
|
---|
| 51 | <sect2 id="contents-hfsutils" role="content">
|
---|
| 52 | <title>Contents of Hfsutils</title>
|
---|
| 53 |
|
---|
| 54 | <segmentedlist>
|
---|
| 55 | <segtitle>Installed programs</segtitle>
|
---|
| 56 |
|
---|
| 57 | <seglistitem>
|
---|
[aeb56828] | 58 | <seg>hattrib, hcd, hcopy, hdel, hdir, hfsutils, hformat, hls, hmkdir,
|
---|
| 59 | hmount, hpwd, hrename, hrmdir, humount, hvol (these are all hardlinks
|
---|
| 60 | to hfsutils).</seg>
|
---|
[d78696a] | 61 | </seglistitem>
|
---|
| 62 | </segmentedlist>
|
---|
| 63 |
|
---|
| 64 | <variablelist>
|
---|
| 65 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 66 | <?dbfo list-presentation="list"?>
|
---|
| 67 | <?dbhtml list-presentation="table"?>
|
---|
| 68 |
|
---|
| 69 | <varlistentry id="hattrib">
|
---|
| 70 | <term><command>hattrib</command></term>
|
---|
[aeb56828] | 71 | <listitem>
|
---|
| 72 | <para>Change FS file or directory attributes.</para>
|
---|
| 73 | <indexterm zone="ch-system-hfsutils hattrib">
|
---|
| 74 | <primary sortas="b-hattrib">hattrib</primary>
|
---|
| 75 | </indexterm>
|
---|
| 76 | </listitem>
|
---|
[d78696a] | 77 | </varlistentry>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="hcd">
|
---|
| 80 | <term><command>hcd</command></term>
|
---|
[aeb56828] | 81 | <listitem>
|
---|
| 82 | <para>Change working HFS directory.</para>
|
---|
| 83 | <indexterm zone="ch-system-hfsutils hcd">
|
---|
| 84 | <primary sortas="b-hcd">hcd</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
[d78696a] | 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="hcopy">
|
---|
| 90 | <term><command>hcopy</command></term>
|
---|
[aeb56828] | 91 | <listitem>
|
---|
| 92 | <para>Copy files to or from an HFS volume.</para>
|
---|
| 93 | <indexterm zone="ch-system-hfsutils hcopy">
|
---|
| 94 | <primary sortas="b-hcopy">hcopy</primary>
|
---|
| 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
[d78696a] | 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | <varlistentry id="hdel">
|
---|
| 100 | <term><command>hdel</command></term>
|
---|
[aeb56828] | 101 | <listitem>
|
---|
| 102 | <para>Delete both forks of an HFS file.</para>
|
---|
| 103 | <indexterm zone="ch-system-hfsutils hdel">
|
---|
| 104 | <primary sortas="b-hdel">hdel</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
[d78696a] | 107 | </varlistentry>
|
---|
| 108 |
|
---|
| 109 | <varlistentry id="hdir">
|
---|
| 110 | <term><command>hdir</command></term>
|
---|
[aeb56828] | 111 | <listitem>
|
---|
| 112 | <para>Display an HFS directory in long format.</para>
|
---|
| 113 | <indexterm zone="ch-system-hfsutils hdir">
|
---|
| 114 | <primary sortas="b-hdir">hdir</primary>
|
---|
| 115 | </indexterm>
|
---|
| 116 | </listitem>
|
---|
[d78696a] | 117 | </varlistentry>
|
---|
| 118 |
|
---|
| 119 | <varlistentry id="hformat">
|
---|
| 120 | <term><command>hformat</command></term>
|
---|
[aeb56828] | 121 | <listitem>
|
---|
| 122 | <para>Create a new HFS filesystem and make it current.</para>
|
---|
| 123 | <indexterm zone="ch-system-hfsutils hformat">
|
---|
| 124 | <primary sortas="b-hformat">hformat</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </listitem>
|
---|
[d78696a] | 127 | </varlistentry>
|
---|
| 128 |
|
---|
| 129 | <varlistentry id="hfsutils">
|
---|
| 130 | <term><command>hfsutils</command></term>
|
---|
[aeb56828] | 131 | <listitem>
|
---|
| 132 | <para>Tools for accessing Macintosh HFS-formatted volumes.</para>
|
---|
| 133 | <indexterm zone="ch-system-hfsutils hfsutils">
|
---|
| 134 | <primary sortas="b-hfsutils">hfsutils</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
[d78696a] | 137 | </varlistentry>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="hls">
|
---|
| 140 | <term><command>hls</command></term>
|
---|
[aeb56828] | 141 | <listitem>
|
---|
| 142 | <para>List files in an HFS directory.</para>
|
---|
| 143 | <indexterm zone="ch-system-hfsutils hls">
|
---|
| 144 | <primary sortas="b-hls">hls</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
[d78696a] | 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="hmkdir">
|
---|
| 150 | <term><command>hmkdir</command></term>
|
---|
[aeb56828] | 151 | <listitem>
|
---|
| 152 | <para>Create a new HFS directory.</para>
|
---|
| 153 | <indexterm zone="ch-system-hfsutils hmkdir">
|
---|
| 154 | <primary sortas="b-hmkdir">hmkdir</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
[d78696a] | 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="hmount">
|
---|
| 160 | <term><command>hmount</command></term>
|
---|
[aeb56828] | 161 | <listitem>
|
---|
| 162 | <para>Introduce a new HFS volume and make it current.</para>
|
---|
| 163 | <indexterm zone="ch-system-hfsutils hmount">
|
---|
| 164 | <primary sortas="b-hmount">hmount</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
[d78696a] | 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="hpwd">
|
---|
| 170 | <term><command>hpwd</command></term>
|
---|
[aeb56828] | 171 | <listitem>
|
---|
| 172 | <para>Print the full path to the current HFS working directory.</para>
|
---|
| 173 | <indexterm zone="ch-system-hfsutils hpwd">
|
---|
| 174 | <primary sortas="b-hpwd">hpwd</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
[d78696a] | 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="hrename">
|
---|
| 180 | <term><command>hrename</command></term>
|
---|
[aeb56828] | 181 | <listitem>
|
---|
| 182 | <para>Rename or move an HFS file or directory.</para>
|
---|
| 183 | <indexterm zone="ch-system-hfsutils hrename">
|
---|
| 184 | <primary sortas="b-hrename">hrename</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
[d78696a] | 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="hrmdir">
|
---|
| 190 | <term><command>hrmdir</command></term>
|
---|
[aeb56828] | 191 | <listitem>
|
---|
| 192 | <para>Remaove an empty HFS directory.</para>
|
---|
| 193 | <indexterm zone="ch-system-hfsutils hrmdir">
|
---|
| 194 | <primary sortas="b-hrmdir">hrmdir</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
[d78696a] | 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="humount">
|
---|
| 200 | <term><command>humount</command></term>
|
---|
[aeb56828] | 201 | <listitem>
|
---|
| 202 | <para>Remove an HFS volume from the list of known volumes.</para>
|
---|
| 203 | <indexterm zone="ch-system-hfsutils humount">
|
---|
| 204 | <primary sortas="b-humount">humount</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
[d78696a] | 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="hvol">
|
---|
| 210 | <term><command>hvol</command></term>
|
---|
[aeb56828] | 211 | <listitem>
|
---|
| 212 | <para>Display or change the current HFS volume.</para>
|
---|
| 213 | <indexterm zone="ch-system-hfsutils hvol">
|
---|
| 214 | <primary sortas="b-hvol">hvol</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
[d78696a] | 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | </variablelist>
|
---|
| 220 |
|
---|
| 221 | </sect2>
|
---|
| 222 |
|
---|
| 223 | </sect1>
|
---|