2004-06-14 11:23:08 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!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 " ">
|
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>
|
2003-06-30 11:38:06 +08:00
|
|
|
|
2004-06-14 11:23:08 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application><acronym>UDF</acronym>tools</application></title>
|
|
|
|
|
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'>
|
|
|
|
<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 size: &udftools-size;</para></listitem>
|
2004-10-09 04:14:41 +08:00
|
|
|
<listitem><para>Estimated disk space required: &udftools-buildsize;</para></listitem>
|
2004-06-14 11:23:08 +08:00
|
|
|
<listitem><para>Estimated build time: &udftools-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Additional downloads</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2004-10-09 04:14:41 +08:00
|
|
|
<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>
|
2004-06-14 11:23:08 +08:00
|
|
|
</itemizedlist></sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of the kernel patch</title>
|
|
|
|
|
|
|
|
<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 &&
|
2004-06-14 11:23:08 +08:00
|
|
|
make &&
|
|
|
|
make install</command></userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2004-06-25 06:02:07 +08:00
|
|
|
<para>The <application><acronym>UDF</acronym>tools</application> package
|
2004-10-09 04:14:41 +08:00
|
|
|
contains
|
|
|
|
<command>cdrwtool</command>,
|
|
|
|
<command>mkudffs</command>,
|
|
|
|
<command>pktsetup</command>,
|
|
|
|
<command>udffsck</command>,
|
|
|
|
<command>wrudf</command> and
|
|
|
|
<filename class="libraryfile">libudffs</filename>.</para>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
|
|
|
|
<sect3><title>pktsetup</title>
|
|
|
|
<para><command>pktsetup</command> 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
|
2004-06-25 06:02:07 +08:00
|
|
|
<acronym>UDF</acronym> formatted
|
|
|
|
<acronym>CD</acronym>-<acronym>RW</acronym> for read/write
|
2004-06-14 11:23:08 +08:00
|
|
|
access.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>cdrwtool</title>
|
|
|
|
<para><command>cdrwtool</command> provides facilities to manage
|
2004-06-25 06:02:07 +08:00
|
|
|
<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
|
|
|
<para>Example:
|
|
|
|
<screen><command>cdrwtool -d /dev/scd0 -q</command></screen>
|
2004-06-25 06:02:07 +08:00
|
|
|
|
2004-06-14 11:23:08 +08:00
|
|
|
prepares a new <acronym>CD</acronym>-<acronym>RW</acronym> for use and
|
2004-06-25 06:02:07 +08:00
|
|
|
formats it with a <acronym>UDF</acronym> file system.</para></sect3>
|
2004-06-14 11:23:08 +08:00
|
|
|
|
|
|
|
<sect3><title>mkudffs</title>
|
|
|
|
<para><command>mkudffs</command> is used to create new
|
2004-06-25 06:02:07 +08:00
|
|
|
<acronym>UDF</acronym> file systems. It can be used on hard disks and
|
|
|
|
<acronym>CD</acronym>-R as well as
|
2004-06-14 11:23:08 +08:00
|
|
|
<acronym>CD</acronym>-<acronym>RW</acronym>.</para></sect3>
|
|
|
|
|
|
|
|
</sect2>
|
2003-06-30 11:38:06 +08:00
|
|
|
|
|
|
|
</sect1>
|