2005-05-10 01:50:50 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-14 11:23:08 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-06-29 06:09:39 +08:00
|
|
|
|
2004-06-14 11:23:08 +08:00
|
|
|
<!ENTITY udftools-download-http "http://prdownloads.sourceforge.net/linux-udf/udftools-&udftools-version;.tar.gz">
|
|
|
|
<!ENTITY udftools-download-ftp " ">
|
2005-02-15 04:43:48 +08:00
|
|
|
<!ENTITY udftools-md5sum "2f491ddd63f31040797236fe18db9e60">
|
2004-10-09 04:14:41 +08:00
|
|
|
<!ENTITY udftools-size "287 KB">
|
|
|
|
<!ENTITY udftools-buildsize "3.5 MB">
|
|
|
|
<!ENTITY udftools-time "0.10 SBU">
|
2004-06-14 11:23:08 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-25 04:01:14 +08:00
|
|
|
<sect1 id="udftools" xreflabel="UDFtools-&udftools-version;">
|
2005-05-10 01:50:50 +08:00
|
|
|
<?dbhtml filename="udftools.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>UDFtools-&udftools-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="udftools">
|
|
|
|
<primary sortas="a-UDFTools">UDFtools</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to UDFtools</title>
|
|
|
|
|
|
|
|
<para>The <application>UDFtools</application> package contains utilities
|
|
|
|
for creating and mounting CD-RW disks with UDF file systems for both
|
|
|
|
reading and writing. UDF files systems are used on both CD-RW media and
|
|
|
|
on DVD. For more details of the UDF file system standard see:
|
|
|
|
<ulink url="http://www.osta.org"/> and
|
|
|
|
<ulink url="http://www.ecma-international.org"/>.</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&udftools-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&udftools-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &udftools-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &udftools-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &udftools-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &udftools-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink
|
|
|
|
url="http://w1.894.telia.com/~u89404340/patches/packet/2.6/packet-2.6.8-2.patch.bz2"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink
|
|
|
|
url="http://w1.894.telia.com/~u89404340/patches/packet/udftools-1.0.0b3.patch.bz2"/></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="udftools-kernel">
|
|
|
|
<title>Installation of the Kernel Patch</title>
|
|
|
|
|
|
|
|
<indexterm zone="udftools udftools-kernel">
|
|
|
|
<primary sortas="d-UDF-File-System">UDF File System</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<warning>
|
|
|
|
<para>Note that this patch can permanently damage your CD
|
|
|
|
drive if it is from one of the few mentioned at
|
|
|
|
<ulink url="http://slashdot.org/article.pl?sid=03/10/25/1737244"/>. Do
|
|
|
|
not apply the patch without first checking out the article.</para>
|
|
|
|
</warning>
|
|
|
|
|
|
|
|
<para>Install the kernel patch by running the following commands from
|
|
|
|
the kernel source directory:</para>
|
|
|
|
|
|
|
|
<screen><userinput>bzcat ../packet-2.6.8-2.patch.bz2 | patch -Np1</userinput></screen>
|
|
|
|
|
|
|
|
<para>In the kernel configuration, modify your settings to match those listed
|
|
|
|
here:</para>
|
|
|
|
|
|
|
|
<screen><literal>Block devices
|
2004-10-09 04:14:41 +08:00
|
|
|
Packet writing on CD/DVD media: Y or M
|
|
|
|
CD-ROM/DVD Filesystems
|
2005-05-10 01:50:50 +08:00
|
|
|
UDF file system support Y or M</literal></screen>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2005-05-10 01:50:50 +08:00
|
|
|
<para>Recompile and install the new kernel.</para>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2004-10-09 04:14:41 +08:00
|
|
|
<!--
|
2004-06-14 11:23:08 +08:00
|
|
|
<para>If you built packet writer as a module, add the following to
|
|
|
|
<filename>/etc/modules.conf</filename>:</para>
|
2004-06-25 06:02:07 +08:00
|
|
|
|
2004-06-14 11:23:08 +08:00
|
|
|
<screen><userinput>alias block-major-97 pktcdvd</userinput></screen>
|
|
|
|
|
|
|
|
<para>Finally, create the packet driver device nodes in <filename
|
|
|
|
class="directory">/dev</filename>, add one node for every
|
2005-05-10 01:50:50 +08:00
|
|
|
CD-RW drive you
|
2004-06-14 11:23:08 +08:00
|
|
|
want to support:</para>
|
2004-06-25 06:02:07 +08:00
|
|
|
|
2004-06-14 11:23:08 +08:00
|
|
|
<screen><userinput><command>mknod /dev/pktcdvd0 b 97 0
|
|
|
|
mknod /dev/pktcdvd1 b 97 1</command></userinput></screen>
|
2004-10-09 04:14:41 +08:00
|
|
|
-->
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2005-05-10 01:50:50 +08:00
|
|
|
</sect2>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2005-05-10 01:50:50 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of UDFtools</title>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2005-05-10 01:50:50 +08:00
|
|
|
<para>Install <application>UDFtools</application> by
|
|
|
|
running the following commands:</para>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2005-05-10 01:50:50 +08:00
|
|
|
<screen><userinput>bzcat ../udftools-1.0.0b3.patch.bz2 | patch -Np1 &&
|
2004-10-09 04:14:41 +08:00
|
|
|
./configure --prefix=/usr &&
|
2005-05-10 01:50:50 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>cdrwtool, mkudffs, pktsetup, udffsck, and wrudf</seg>
|
|
|
|
<seg>libudffs.a</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="cdrwtool">
|
|
|
|
<term><command>cdrwtool</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para> provides facilities to manage CD-RW drives, including formatting
|
|
|
|
new disks, setting the read and write speeds, etc.</para>
|
|
|
|
|
|
|
|
<para>Example:</para>
|
|
|
|
|
|
|
|
<screen><userinput>cdrwtool -d /dev/scd0 -q</userinput></screen>
|
|
|
|
|
|
|
|
<para>prepares a new CD-RW for use and
|
|
|
|
formats it with a UDF file system.</para>
|
|
|
|
<indexterm zone="udftools cdrwtool">
|
|
|
|
<primary sortas="b-cdrwtool">cdrwtool</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="mkudffs">
|
|
|
|
<term><command>mkudffs</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used to create new UDF file systems. It can be used on
|
|
|
|
hard disks and CD-Rs as well as CD-RWs.</para>
|
|
|
|
<indexterm zone="udftools mkudffs">
|
|
|
|
<primary sortas="b-mkudffs">mkudffs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="pktsetup">
|
|
|
|
<term><command>pktsetup</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used to establish and break down associations between the
|
|
|
|
kernel packet driver and a physical drive.</para>
|
|
|
|
|
|
|
|
<para>Example:</para>
|
|
|
|
|
|
|
|
<screen><userinput>pktsetup /dev/pktcdvd0 /dev/scd0
|
|
|
|
mount /dev/pktcdvd0 /mnt/cdrom -t udf -o rw,noatime</userinput></screen>
|
|
|
|
|
2005-05-30 23:59:12 +08:00
|
|
|
<para>associates the physical device <filename>/dev/scd0</filename>
|
2005-05-10 01:50:50 +08:00
|
|
|
with the kernel packet driver <filename>/dev/pktcdvd0</filename>, then
|
|
|
|
mounts a UDF formatted CD-RW for read/write access.</para>
|
|
|
|
<indexterm zone="udftools pktsetup">
|
|
|
|
<primary sortas="b-pktsetup">pktsetup</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="udffsck">
|
|
|
|
<term><command>udffsck</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used to check the integrity and correct errors on
|
|
|
|
UDF filesystems.</para>
|
|
|
|
<indexterm zone="udftools udffsck">
|
|
|
|
<primary sortas="b-udffsck">udffsck</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="wrudf">
|
|
|
|
<term><command>wrudf</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used to maintain a UDF filesystem.</para>
|
|
|
|
<indexterm zone="udftools wrudf">
|
|
|
|
<primary sortas="b-wrudf">wrudf</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libudffs">
|
|
|
|
<term><filename class='libraryfile'>libudffs.a</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>contains functions used by the
|
|
|
|
<application>UDFtools</application> programs.</para>
|
|
|
|
<indexterm zone="udftools libudffs">
|
|
|
|
<primary sortas="c-libudffs">libudffs.a</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2003-06-30 11:38:06 +08:00
|
|
|
|
|
|
|
</sect1>
|