1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY udftools-download-http "http://prdownloads.sourceforge.net/linux-udf/udftools-&udftools-version;.tar.gz">
|
---|
7 | <!ENTITY udftools-download-ftp " ">
|
---|
8 | <!ENTITY udftools-size "287 KB">
|
---|
9 | <!ENTITY udftools-buildsize "3.5 MB">
|
---|
10 | <!ENTITY udftools-time "0.10 SBU">
|
---|
11 | ]>
|
---|
12 |
|
---|
13 | <sect1 id="udftools" xreflabel="UDFtools-&udftools-version;">
|
---|
14 | <sect1info>
|
---|
15 | <othername>$LastChangedBy$</othername>
|
---|
16 | <date>$Date$</date>
|
---|
17 | </sect1info>
|
---|
18 | <?dbhtml filename="udftools.html"?>
|
---|
19 | <title>UDFtools-&udftools-version;</title>
|
---|
20 |
|
---|
21 | <sect2>
|
---|
22 | <title>Introduction to <application><acronym>UDF</acronym>tools</application></title>
|
---|
23 |
|
---|
24 | <para>The <application><acronym>UDF</acronym>tools</application> package
|
---|
25 | contains utilities for creating and mounting
|
---|
26 | <acronym>CD</acronym>-<acronym>RW</acronym> disks with
|
---|
27 | <acronym>UDF</acronym> file systems for both
|
---|
28 | reading and writing. <acronym>UDF</acronym> files systems are used on
|
---|
29 | both <acronym>CD</acronym>-<acronym>RW</acronym> media and
|
---|
30 | on <acronym>DVD</acronym>. For more details of the
|
---|
31 | <acronym>UDF</acronym> file system standard see:
|
---|
32 | <ulink url="http://www.osta.org"/> and
|
---|
33 | <ulink url="http://www.ecma-international.org"/>.</para>
|
---|
34 |
|
---|
35 | <sect3><title>Package information</title>
|
---|
36 | <itemizedlist spacing='compact'>
|
---|
37 | <listitem><para>Download (HTTP): <ulink url="&udftools-download-http;"/></para></listitem>
|
---|
38 | <listitem><para>Download (FTP): <ulink url="&udftools-download-ftp;"/></para></listitem>
|
---|
39 | <listitem><para>Download size: &udftools-size;</para></listitem>
|
---|
40 | <listitem><para>Estimated disk space required: &udftools-buildsize;</para></listitem>
|
---|
41 | <listitem><para>Estimated build time: &udftools-time;</para></listitem></itemizedlist>
|
---|
42 | </sect3>
|
---|
43 |
|
---|
44 | <sect3><title>Additional downloads</title>
|
---|
45 | <itemizedlist spacing='compact'>
|
---|
46 | <listitem><para>Required patch: <ulink
|
---|
47 | url="http://w1.894.telia.com/~u89404340/patches/packet/2.6/packet-2.6.8-2.patch.bz2"/></para></listitem>
|
---|
48 | <listitem><para>Required patch: <ulink
|
---|
49 | url="http://w1.894.telia.com/~u89404340/patches/packet/udftools-1.0.0b3.patch.bz2"/></para></listitem>
|
---|
50 | </itemizedlist></sect3>
|
---|
51 |
|
---|
52 | </sect2>
|
---|
53 |
|
---|
54 | <sect2>
|
---|
55 | <title>Installation of the kernel patch</title>
|
---|
56 |
|
---|
57 | <warning>
|
---|
58 | <para>Note that this patch can permanently damage your <acronym>CD</acronym>
|
---|
59 | drive if it is from one of the few mentioned at
|
---|
60 | <ulink url="http://slashdot.org/article.pl?sid=03/10/25/1737244"/>. Do
|
---|
61 | not apply the patch without first checking out the article.</para>
|
---|
62 | </warning>
|
---|
63 |
|
---|
64 | <para>Install the kernel patch by running the following commands from
|
---|
65 | the kernel source directory:</para>
|
---|
66 |
|
---|
67 | <screen><userinput><command>bzcat ../packet-2.6.8-2.patch.bz2 |patch -Np1</command></userinput></screen>
|
---|
68 |
|
---|
69 | <para>In the kernel configuration, modify your settings to match those listed
|
---|
70 | here:</para>
|
---|
71 |
|
---|
72 | <screen>Block devices
|
---|
73 | Packet writing on CD/DVD media: Y or M
|
---|
74 | CD-ROM/DVD Filesystems
|
---|
75 | UDF file system support Y or M</screen>
|
---|
76 |
|
---|
77 | <para>Recompile and install the new kernel.</para>
|
---|
78 |
|
---|
79 | <!--
|
---|
80 | <para>If you built packet writer as a module, add the following to
|
---|
81 | <filename>/etc/modules.conf</filename>:</para>
|
---|
82 |
|
---|
83 | <screen><userinput>alias block-major-97 pktcdvd</userinput></screen>
|
---|
84 |
|
---|
85 | <para>Finally, create the packet driver device nodes in <filename
|
---|
86 | class="directory">/dev</filename>, add one node for every
|
---|
87 | <acronym>CD</acronym>-<acronym>RW</acronym> drive you
|
---|
88 | want to support:</para>
|
---|
89 |
|
---|
90 | <screen><userinput><command>mknod /dev/pktcdvd0 b 97 0
|
---|
91 | mknod /dev/pktcdvd1 b 97 1</command></userinput></screen>
|
---|
92 | -->
|
---|
93 |
|
---|
94 | </sect2>
|
---|
95 |
|
---|
96 | <sect2>
|
---|
97 | <title>Installation of
|
---|
98 | <application><acronym>UDF</acronym>tools</application></title>
|
---|
99 |
|
---|
100 | <para>Install <application><acronym>UDF</acronym>tools</application> by
|
---|
101 | running the following commands:</para>
|
---|
102 |
|
---|
103 | <screen><userinput><command>bzcat ../udftools-1.0.0b3.patch.bz2 |patch -Np1 &&
|
---|
104 | ./configure --prefix=/usr &&
|
---|
105 | make &&
|
---|
106 | make install</command></userinput></screen>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2>
|
---|
111 | <title>Contents</title>
|
---|
112 |
|
---|
113 | <para>The <application><acronym>UDF</acronym>tools</application> package
|
---|
114 | contains
|
---|
115 | <command>cdrwtool</command>,
|
---|
116 | <command>mkudffs</command>,
|
---|
117 | <command>pktsetup</command>,
|
---|
118 | <command>udffsck</command>,
|
---|
119 | <command>wrudf</command> and
|
---|
120 | <filename class="libraryfile">libudffs</filename>.</para>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2><title>Description</title>
|
---|
125 |
|
---|
126 | <sect3><title>pktsetup</title>
|
---|
127 | <para><command>pktsetup</command> is used to establish and break down
|
---|
128 | associations between the kernel packet driver and a physical drive.</para>
|
---|
129 |
|
---|
130 | <para>Example:
|
---|
131 | <screen><command>pktsetup /dev/pktcdvd0 /dev/scd0
|
---|
132 | mount /dev/pktcdvd0 /mnt/cdrom -t udf -o rw,noatime</command></screen>
|
---|
133 |
|
---|
134 | associates the physical device <filename>/dev/scd0</filename> with the
|
---|
135 | kernel packet driver <filename>/dev/pktcdvd0</filename>, then mounts a
|
---|
136 | <acronym>UDF</acronym> formatted
|
---|
137 | <acronym>CD</acronym>-<acronym>RW</acronym> for read/write
|
---|
138 | access.</para></sect3>
|
---|
139 |
|
---|
140 | <sect3><title>cdrwtool</title>
|
---|
141 | <para><command>cdrwtool</command> provides facilities to manage
|
---|
142 | <acronym>CD</acronym>-<acronym>RW</acronym> drives, including formatting
|
---|
143 | new disks, setting the read and write speeds, etc.</para>
|
---|
144 |
|
---|
145 | <para>Example:
|
---|
146 | <screen><command>cdrwtool -d /dev/scd0 -q</command></screen>
|
---|
147 |
|
---|
148 | prepares a new <acronym>CD</acronym>-<acronym>RW</acronym> for use and
|
---|
149 | formats it with a <acronym>UDF</acronym> file system.</para></sect3>
|
---|
150 |
|
---|
151 | <sect3><title>mkudffs</title>
|
---|
152 | <para><command>mkudffs</command> is used to create new
|
---|
153 | <acronym>UDF</acronym> file systems. It can be used on hard disks and
|
---|
154 | <acronym>CD</acronym>-R as well as
|
---|
155 | <acronym>CD</acronym>-<acronym>RW</acronym>.</para></sect3>
|
---|
156 |
|
---|
157 | </sect2>
|
---|
158 |
|
---|
159 | </sect1>
|
---|