[47b58ec] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[d8a5def6] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[4f6275fd] | 6 |
|
---|
[d8a5def6] | 7 | <!ENTITY udftools-download-http "http://prdownloads.sourceforge.net/linux-udf/udftools-&udftools-version;.tar.gz">
|
---|
| 8 | <!ENTITY udftools-download-ftp " ">
|
---|
[234baeb5] | 9 | <!ENTITY udftools-md5sum "2f491ddd63f31040797236fe18db9e60">
|
---|
[33278268] | 10 | <!ENTITY udftools-size "287 KB">
|
---|
| 11 | <!ENTITY udftools-buildsize "3.5 MB">
|
---|
| 12 | <!ENTITY udftools-time "0.10 SBU">
|
---|
[d8a5def6] | 13 | ]>
|
---|
| 14 |
|
---|
[64a25d5] | 15 | <sect1 id="udftools" xreflabel="UDFtools-&udftools-version;">
|
---|
[47b58ec] | 16 | <?dbhtml filename="udftools.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[4b4814c2] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">udftools-&udftools-version;.tar</keyword>
|
---|
[f15e274] | 23 | <keyword role="ftpdir">udftools</keyword>
|
---|
[4b4814c2] | 24 | </keywordset>
|
---|
[47b58ec] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>UDFtools-&udftools-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="udftools">
|
---|
| 30 | <primary sortas="a-UDFTools">UDFtools</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to UDFtools</title>
|
---|
| 35 |
|
---|
[abf7c00] | 36 | <para>The <application>UDFtools</application> package contains utilities
|
---|
[47b58ec] | 37 | for creating and mounting CD-RW disks with UDF file systems for both
|
---|
| 38 | reading and writing. UDF files systems are used on both CD-RW media and
|
---|
| 39 | on DVD. For more details of the UDF file system standard see:
|
---|
[abf7c00] | 40 | <ulink url="http://www.osta.org"/> and
|
---|
[47b58ec] | 41 | <ulink url="http://www.ecma-international.org"/>.</para>
|
---|
| 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (HTTP): <ulink url="&udftools-download-http;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (FTP): <ulink url="&udftools-download-ftp;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download MD5 sum: &udftools-md5sum;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download size: &udftools-size;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated disk space required: &udftools-buildsize;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated build time: &udftools-time;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 66 | <itemizedlist spacing='compact'>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Required patch: <ulink
|
---|
| 69 | url="http://w1.894.telia.com/~u89404340/patches/packet/2.6/packet-2.6.8-2.patch.bz2"/></para>
|
---|
| 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>Required patch: <ulink
|
---|
| 73 | url="http://w1.894.telia.com/~u89404340/patches/packet/udftools-1.0.0b3.patch.bz2"/></para>
|
---|
| 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 id="udftools-kernel">
|
---|
| 80 | <title>Installation of the Kernel Patch</title>
|
---|
| 81 |
|
---|
| 82 | <indexterm zone="udftools udftools-kernel">
|
---|
| 83 | <primary sortas="d-UDF-File-System">UDF File System</primary>
|
---|
| 84 | </indexterm>
|
---|
| 85 |
|
---|
| 86 | <warning>
|
---|
[abf7c00] | 87 | <para>Note that this patch can permanently damage your CD
|
---|
| 88 | drive if it is from one of the few mentioned at
|
---|
[47b58ec] | 89 | <ulink url="http://slashdot.org/article.pl?sid=03/10/25/1737244"/>. Do
|
---|
| 90 | not apply the patch without first checking out the article.</para>
|
---|
| 91 | </warning>
|
---|
| 92 |
|
---|
| 93 | <para>Install the kernel patch by running the following commands from
|
---|
| 94 | the kernel source directory:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>bzcat ../packet-2.6.8-2.patch.bz2 | patch -Np1</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>In the kernel configuration, modify your settings to match those listed
|
---|
| 99 | here:</para>
|
---|
| 100 |
|
---|
| 101 | <screen><literal>Block devices
|
---|
[33278268] | 102 | Packet writing on CD/DVD media: Y or M
|
---|
| 103 | CD-ROM/DVD Filesystems
|
---|
[47b58ec] | 104 | UDF file system support Y or M</literal></screen>
|
---|
[d8a5def6] | 105 |
|
---|
[47b58ec] | 106 | <para>Recompile and install the new kernel.</para>
|
---|
[d8a5def6] | 107 |
|
---|
[33278268] | 108 | <!--
|
---|
[d8a5def6] | 109 | <para>If you built packet writer as a module, add the following to
|
---|
| 110 | <filename>/etc/modules.conf</filename>:</para>
|
---|
[b1623c2] | 111 |
|
---|
[d8a5def6] | 112 | <screen><userinput>alias block-major-97 pktcdvd</userinput></screen>
|
---|
| 113 |
|
---|
| 114 | <para>Finally, create the packet driver device nodes in <filename
|
---|
| 115 | class="directory">/dev</filename>, add one node for every
|
---|
[47b58ec] | 116 | CD-RW drive you
|
---|
[d8a5def6] | 117 | want to support:</para>
|
---|
[b1623c2] | 118 |
|
---|
[d8a5def6] | 119 | <screen><userinput><command>mknod /dev/pktcdvd0 b 97 0
|
---|
| 120 | mknod /dev/pktcdvd1 b 97 1</command></userinput></screen>
|
---|
[33278268] | 121 | -->
|
---|
[d8a5def6] | 122 |
|
---|
[47b58ec] | 123 | </sect2>
|
---|
[d8a5def6] | 124 |
|
---|
[47b58ec] | 125 | <sect2 role="installation">
|
---|
| 126 | <title>Installation of UDFtools</title>
|
---|
[d8a5def6] | 127 |
|
---|
[abf7c00] | 128 | <para>Install <application>UDFtools</application> by
|
---|
[47b58ec] | 129 | running the following commands:</para>
|
---|
[d8a5def6] | 130 |
|
---|
[47b58ec] | 131 | <screen><userinput>bzcat ../udftools-1.0.0b3.patch.bz2 | patch -Np1 &&
|
---|
[33278268] | 132 | ./configure --prefix=/usr &&
|
---|
[47b58ec] | 133 | make</userinput></screen>
|
---|
| 134 |
|
---|
| 135 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 136 |
|
---|
| 137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Library</segtitle>
|
---|
| 147 | <segtitle>Installed Directories</segtitle>
|
---|
| 148 |
|
---|
| 149 | <seglistitem>
|
---|
| 150 | <seg>cdrwtool, mkudffs, pktsetup, udffsck, and wrudf</seg>
|
---|
| 151 | <seg>libudffs.a</seg>
|
---|
| 152 | <seg>None</seg>
|
---|
| 153 | </seglistitem>
|
---|
| 154 | </segmentedlist>
|
---|
| 155 |
|
---|
| 156 | <variablelist>
|
---|
| 157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 158 | <?dbfo list-presentation="list"?>
|
---|
| 159 | <?dbhtml list-presentation="table"?>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="cdrwtool">
|
---|
| 162 | <term><command>cdrwtool</command></term>
|
---|
| 163 | <listitem>
|
---|
[abf7c00] | 164 | <para> provides facilities to manage CD-RW drives, including formatting
|
---|
[47b58ec] | 165 | new disks, setting the read and write speeds, etc.</para>
|
---|
| 166 |
|
---|
| 167 | <para>Example:</para>
|
---|
| 168 |
|
---|
| 169 | <screen><userinput>cdrwtool -d /dev/scd0 -q</userinput></screen>
|
---|
| 170 |
|
---|
| 171 | <para>prepares a new CD-RW for use and
|
---|
| 172 | formats it with a UDF file system.</para>
|
---|
| 173 | <indexterm zone="udftools cdrwtool">
|
---|
| 174 | <primary sortas="b-cdrwtool">cdrwtool</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="mkudffs">
|
---|
| 180 | <term><command>mkudffs</command></term>
|
---|
| 181 | <listitem>
|
---|
[abf7c00] | 182 | <para>is used to create new UDF file systems. It can be used on
|
---|
[47b58ec] | 183 | hard disks and CD-Rs as well as CD-RWs.</para>
|
---|
| 184 | <indexterm zone="udftools mkudffs">
|
---|
| 185 | <primary sortas="b-mkudffs">mkudffs</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="pktsetup">
|
---|
| 191 | <term><command>pktsetup</command></term>
|
---|
| 192 | <listitem>
|
---|
[abf7c00] | 193 | <para>is used to establish and break down associations between the
|
---|
[47b58ec] | 194 | kernel packet driver and a physical drive.</para>
|
---|
| 195 |
|
---|
| 196 | <para>Example:</para>
|
---|
| 197 |
|
---|
| 198 | <screen><userinput>pktsetup /dev/pktcdvd0 /dev/scd0
|
---|
| 199 | mount /dev/pktcdvd0 /mnt/cdrom -t udf -o rw,noatime</userinput></screen>
|
---|
| 200 |
|
---|
[d7ecaa6] | 201 | <para>associates the physical device <filename>/dev/scd0</filename>
|
---|
[abf7c00] | 202 | with the kernel packet driver <filename>/dev/pktcdvd0</filename>, then
|
---|
[47b58ec] | 203 | mounts a UDF formatted CD-RW for read/write access.</para>
|
---|
| 204 | <indexterm zone="udftools pktsetup">
|
---|
| 205 | <primary sortas="b-pktsetup">pktsetup</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="udffsck">
|
---|
| 211 | <term><command>udffsck</command></term>
|
---|
| 212 | <listitem>
|
---|
[abf7c00] | 213 | <para>is used to check the integrity and correct errors on
|
---|
[47b58ec] | 214 | UDF filesystems.</para>
|
---|
| 215 | <indexterm zone="udftools udffsck">
|
---|
| 216 | <primary sortas="b-udffsck">udffsck</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="wrudf">
|
---|
| 222 | <term><command>wrudf</command></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>is used to maintain a UDF filesystem.</para>
|
---|
| 225 | <indexterm zone="udftools wrudf">
|
---|
| 226 | <primary sortas="b-wrudf">wrudf</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | <varlistentry id="libudffs">
|
---|
| 232 | <term><filename class='libraryfile'>libudffs.a</filename></term>
|
---|
| 233 | <listitem>
|
---|
[abf7c00] | 234 | <para>contains functions used by the
|
---|
[47b58ec] | 235 | <application>UDFtools</application> programs.</para>
|
---|
| 236 | <indexterm zone="udftools libudffs">
|
---|
| 237 | <primary sortas="c-libudffs">libudffs.a</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | </variablelist>
|
---|
| 243 |
|
---|
| 244 | </sect2>
|
---|
[6a79eeb1] | 245 |
|
---|
| 246 | </sect1>
|
---|