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