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