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;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 11:24:31 +08:00
|
|
|
<?dbhtml filename="udftools.html"?>
|
2003-09-25 04:01:14 +08:00
|
|
|
<title>UDFtools-&udftools-version;</title>
|
2005-01-26 05:23:05 +08:00
|
|
|
<indexterm zone="udftools">
|
|
|
|
<primary sortas="a-UDFTools">UDFtools</primary></indexterm>
|
2003-06-30 11:38:06 +08:00
|
|
|
|
2004-06-14 11:23:08 +08:00
|
|
|
<sect2>
|
2005-01-26 05:23:05 +08:00
|
|
|
<title>Introduction to
|
|
|
|
<application><acronym>UDF</acronym>tools</application></title>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2004-06-25 06:02:07 +08:00
|
|
|
<para>The <application><acronym>UDF</acronym>tools</application> package
|
|
|
|
contains utilities for creating and mounting
|
|
|
|
<acronym>CD</acronym>-<acronym>RW</acronym> disks with
|
2004-06-14 11:23:08 +08:00
|
|
|
<acronym>UDF</acronym> file systems for both
|
|
|
|
reading and writing. <acronym>UDF</acronym> files systems are used on
|
|
|
|
both <acronym>CD</acronym>-<acronym>RW</acronym> media and
|
|
|
|
on <acronym>DVD</acronym>. For more details of the
|
|
|
|
<acronym>UDF</acronym> file system standard see:
|
2004-06-25 06:02:07 +08:00
|
|
|
<ulink url="http://www.osta.org"/> and
|
|
|
|
<ulink url="http://www.ecma-international.org"/>.</para>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2005-01-26 05:23:05 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&udftools-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&udftools-download-ftp;"/></para></listitem>
|
2005-02-15 04:43:48 +08:00
|
|
|
<listitem><para>Download MD5 sum:
|
|
|
|
&udftools-md5sum;</para></listitem>
|
2005-01-26 05:23:05 +08:00
|
|
|
<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>
|
2004-06-14 11:23:08 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Additional downloads</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2004-10-09 04:14:41 +08:00
|
|
|
<listitem><para>Required patch: <ulink
|
2005-01-26 05:23:05 +08:00
|
|
|
url="http://w1.894.telia.com/~u89404340/patches/packet/2.6/packet-2.6.8-2.patch.bz2"/></para>
|
|
|
|
</listitem>
|
2004-10-09 04:14:41 +08:00
|
|
|
<listitem><para>Required patch: <ulink
|
2005-01-26 05:23:05 +08:00
|
|
|
url="http://w1.894.telia.com/~u89404340/patches/packet/udftools-1.0.0b3.patch.bz2"/></para>
|
|
|
|
</listitem>
|
2004-06-14 11:23:08 +08:00
|
|
|
</itemizedlist></sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2005-01-31 07:01:56 +08:00
|
|
|
<sect2 id="udftools-kernel">
|
2004-06-14 11:23:08 +08:00
|
|
|
<title>Installation of the kernel patch</title>
|
2005-01-31 07:01:56 +08:00
|
|
|
<indexterm zone="udftools udftools-kernel">
|
|
|
|
<primary sortas="d-UDF-File-System">UDF File System</primary>
|
|
|
|
</indexterm>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
|
|
|
<warning>
|
2004-06-25 06:02:07 +08:00
|
|
|
<para>Note that this patch can permanently damage your <acronym>CD</acronym>
|
|
|
|
drive if it is from one of the few mentioned at
|
2004-06-14 11:23:08 +08:00
|
|
|
<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>
|
|
|
|
|
2004-10-09 04:14:41 +08:00
|
|
|
<screen><userinput><command>bzcat ../packet-2.6.8-2.patch.bz2 |patch -Np1</command></userinput></screen>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2004-10-09 04:14:41 +08:00
|
|
|
<para>In the kernel configuration, modify your settings to match those listed
|
2004-06-14 11:23:08 +08:00
|
|
|
here:</para>
|
|
|
|
|
|
|
|
<screen>Block devices
|
2004-10-09 04:14:41 +08:00
|
|
|
Packet writing on CD/DVD media: Y or M
|
|
|
|
CD-ROM/DVD Filesystems
|
|
|
|
UDF file system support Y or M</screen>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2004-10-09 04:14:41 +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
|
|
|
|
<acronym>CD</acronym>-<acronym>RW</acronym> drive you
|
|
|
|
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
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2004-06-29 06:09:39 +08:00
|
|
|
<title>Installation of
|
|
|
|
<application><acronym>UDF</acronym>tools</application></title>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2004-06-25 06:02:07 +08:00
|
|
|
<para>Install <application><acronym>UDF</acronym>tools</application> by
|
|
|
|
running the following commands:</para>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2004-10-09 04:14:41 +08:00
|
|
|
<screen><userinput><command>bzcat ../udftools-1.0.0b3.patch.bz2 |patch -Np1 &&
|
|
|
|
./configure --prefix=/usr &&
|
2005-01-26 05:23:05 +08:00
|
|
|
make</command></userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2005-01-26 05:23:05 +08:00
|
|
|
<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"?>
|
|
|
|
|
|
|
|
<varlistentry id="cdrwtool">
|
|
|
|
<term><command>cdrwtool</command></term>
|
|
|
|
<listitem><para> provides facilities to manage
|
|
|
|
<acronym>CD</acronym>-<acronym>RW</acronym> drives, including formatting
|
|
|
|
new disks, setting the read and write speeds, etc.</para>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2005-01-26 05:23:05 +08:00
|
|
|
<para>Example:
|
|
|
|
<screen><command>cdrwtool -d /dev/scd0 -q</command></screen>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
2005-01-26 05:23:05 +08:00
|
|
|
prepares a new <acronym>CD</acronym>-<acronym>RW</acronym> for use and
|
|
|
|
formats it with a <acronym>UDF</acronym> 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 <acronym>UDF</acronym> file systems.
|
|
|
|
It can be used on hard disks and <acronym>CD</acronym>-Rs as well as
|
|
|
|
<acronym>CD</acronym>-<acronym>RW</acronym>s.</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>
|
2004-06-25 06:02:07 +08:00
|
|
|
|
2004-06-14 11:23:08 +08:00
|
|
|
<para>Example:
|
|
|
|
<screen><command>pktsetup /dev/pktcdvd0 /dev/scd0
|
|
|
|
mount /dev/pktcdvd0 /mnt/cdrom -t udf -o rw,noatime</command></screen>
|
2004-06-25 06:02:07 +08:00
|
|
|
|
2004-06-14 11:23:08 +08:00
|
|
|
associates the physical device <filename>/dev/scd0</filename> with the
|
|
|
|
kernel packet driver <filename>/dev/pktcdvd0</filename>, then mounts a
|
2005-01-26 05:23:05 +08:00
|
|
|
<acronym>UDF</acronym> formatted <acronym>CD</acronym>-<acronym>RW</acronym>
|
|
|
|
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
|
|
|
|
<acronym>UDF</acronym> 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 <acronym>UDF</acronym> filing
|
|
|
|
system.</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>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
|
|
|
</sect2>
|
2003-06-30 11:38:06 +08:00
|
|
|
|
|
|
|
</sect1>
|