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 "236 Kb">
|
---|
9 | <!ENTITY udftools-buildsize "2.7 MB">
|
---|
10 | <!ENTITY udftools-time " ">
|
---|
11 | ]>
|
---|
12 |
|
---|
13 | <sect1 id="udftools" xreflabel="UDFtools-&udftools-version;">
|
---|
14 | <?dbhtml filename="udftools.html"?>
|
---|
15 | <title>UDFtools-&udftools-version;</title>
|
---|
16 |
|
---|
17 | <sect2>
|
---|
18 | <title>Introduction to <application><acronym>UDF</acronym>tools</application></title>
|
---|
19 |
|
---|
20 | <para>The <application><acronym>UDF</acronym>tools</application> package contains utilities
|
---|
21 | for creating and mounting <acronym>CD</acronym>-<acronym>RW</acronym> disks with
|
---|
22 | <acronym>UDF</acronym> file systems for both
|
---|
23 | reading and writing. <acronym>UDF</acronym> files systems are used on
|
---|
24 | both <acronym>CD</acronym>-<acronym>RW</acronym> media and
|
---|
25 | on <acronym>DVD</acronym>. For more details of the
|
---|
26 | <acronym>UDF</acronym> file system standard see:
|
---|
27 | <ulink url="http://www.osta.org"/> and <ulink
|
---|
28 | url="http://www.ecma-international.org"/>.</para>
|
---|
29 |
|
---|
30 | <sect3><title>Package information</title>
|
---|
31 | <itemizedlist spacing='compact'>
|
---|
32 | <listitem><para>Download (HTTP): <ulink url="&udftools-download-http;"/></para></listitem>
|
---|
33 | <listitem><para>Download (FTP): <ulink url="&udftools-download-ftp;"/></para></listitem>
|
---|
34 | <listitem><para>Download size: &udftools-size;</para></listitem>
|
---|
35 | <listitem><para>Estimated Disk space required: &udftools-buildsize;</para></listitem>
|
---|
36 | <listitem><para>Estimated build time: &udftools-time;</para></listitem></itemizedlist>
|
---|
37 | </sect3>
|
---|
38 |
|
---|
39 | <sect3><title>Additional downloads</title>
|
---|
40 | <itemizedlist spacing='compact'>
|
---|
41 | <listitem><para>Required Patch: <ulink
|
---|
42 | url="&patch-root;/linux-2.4.26-packet.patch"/></para></listitem>
|
---|
43 | <listitem><para>Patches for other kernel versions:
|
---|
44 | <ulink url="http://w1.894.telia.com/~u89404340/patches/packet/"/></para></listitem>
|
---|
45 | </itemizedlist></sect3>
|
---|
46 |
|
---|
47 |
|
---|
48 | </sect2>
|
---|
49 |
|
---|
50 | <sect2>
|
---|
51 | <title>Installation of the kernel patch</title>
|
---|
52 |
|
---|
53 | <warning>
|
---|
54 | <para>Note that this patch can permanently damage your
|
---|
55 | <acronym>CD</acronym> drive if it is
|
---|
56 | from one of the few mentioned at
|
---|
57 | <ulink url="http://slashdot.org/article.pl?sid=03/10/25/1737244"/>. Do
|
---|
58 | not apply the patch without first checking out the article.</para>
|
---|
59 | </warning>
|
---|
60 |
|
---|
61 | <para>Install the kernel patch by running the following commands from
|
---|
62 | the kernel source directory:</para>
|
---|
63 |
|
---|
64 | <screen><userinput><command>patch -Np1 -i ../linux-2.4.26-packet.patch</command></userinput></screen>
|
---|
65 |
|
---|
66 | <para>In the kernel configuration, check your setting with those listed
|
---|
67 | here:</para>
|
---|
68 |
|
---|
69 | <screen>Block devices
|
---|
70 | Packet writing on CD/DVD media: Y or M
|
---|
71 | File Systems
|
---|
72 | UDF filesystems support (read only): Y
|
---|
73 | UDF write support (DANGEROUS) Y</screen>
|
---|
74 |
|
---|
75 | <para>If necessary, recompile the kernel with:</para>
|
---|
76 | <screen><userinput><command>make CC=/opt/gcc-2.95.3/bin/gcc dep &&
|
---|
77 | make CC=/opt/gcc-2.95.3/bin/gcc bzImage &&
|
---|
78 | make CC=/opt/gcc-2.95.3/bin/gcc modules &&
|
---|
79 | make CC=/opt/gcc-2.95.3/bin/gcc modules_install</command></userinput></screen>
|
---|
80 | <para>
|
---|
81 | Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
|
---|
82 | <filename>/usr/src/linux/System.map</filename> to
|
---|
83 | <filename class="directory">/boot</filename>. If you utilize
|
---|
84 | <application>LILO</application>, edit <filename>/etc/lilo.conf</filename>
|
---|
85 | appropriately and run <command>lilo</command>.
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <para>If you built packet writer as a module, add the following to
|
---|
89 | <filename>/etc/modules.conf</filename>:</para>
|
---|
90 | <screen><userinput>alias block-major-97 pktcdvd</userinput></screen>
|
---|
91 |
|
---|
92 | <para>Finally, create the packet driver device nodes in <filename
|
---|
93 | class="directory">/dev</filename>, add one node for every
|
---|
94 | <acronym>CD</acronym>-<acronym>RW</acronym> drive you
|
---|
95 | want to support:</para>
|
---|
96 | <screen><userinput><command>mknod /dev/pktcdvd0 b 97 0
|
---|
97 | mknod /dev/pktcdvd1 b 97 1</command></userinput></screen>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2>
|
---|
102 | <title>Installation of <application><acronym>UDF</acronym>tools</application></title>
|
---|
103 |
|
---|
104 | <para>Install <application><acronym>UDF</acronym>tools</application> by running the following commands:</para>
|
---|
105 |
|
---|
106 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
107 | make &&
|
---|
108 | make install</command></userinput></screen>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2>
|
---|
113 | <title>Contents</title>
|
---|
114 |
|
---|
115 | <para>The <application><acronym>UDF</acronym>tools</application> package contains <command>
|
---|
116 | pktsetup</command>, <command>cdrwtool</command>, and
|
---|
117 | <command>mkudffs</command>.</para>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2><title>Description</title>
|
---|
122 |
|
---|
123 | <sect3><title>pktsetup</title>
|
---|
124 | <para><command>pktsetup</command> is used to establish and break down
|
---|
125 | associations between the kernel packet driver and a physical drive.</para>
|
---|
126 | <para>Example:
|
---|
127 | <screen><command>pktsetup /dev/pktcdvd0 /dev/scd0
|
---|
128 | mount /dev/pktcdvd0 /mnt/cdrom -t udf -o rw,noatime</command></screen>
|
---|
129 | associates the physical device <filename>/dev/scd0</filename> with the
|
---|
130 | kernel packet driver <filename>/dev/pktcdvd0</filename>, then mounts a
|
---|
131 | <acronym>UDF</acronym> formatted <acronym>CD-RW</acronym> for read/write
|
---|
132 | access.</para></sect3>
|
---|
133 |
|
---|
134 | <sect3><title>cdrwtool</title>
|
---|
135 | <para><command>cdrwtool</command> provides facilities to manage
|
---|
136 | <acronym>CD</acronym>-RW
|
---|
137 | drives, including formatting new disks, setting the read and write
|
---|
138 | speeds, etc. </para>
|
---|
139 | <para>Example:
|
---|
140 | <screen><command>cdrwtool -d /dev/scd0 -q</command></screen>
|
---|
141 | prepares a new <acronym>CD</acronym>-<acronym>RW</acronym> for use and
|
---|
142 | formats it with a <acronym>UDF</acronym>
|
---|
143 | file system.</para></sect3>
|
---|
144 |
|
---|
145 | <sect3><title>mkudffs</title>
|
---|
146 | <para><command>mkudffs</command> is used to create new
|
---|
147 | <acronym>UDF</acronym> file systems,
|
---|
148 | it can be used on hard disks and <acronym>CD</acronym>-R as well as
|
---|
149 | <acronym>CD</acronym>-<acronym>RW</acronym>.</para></sect3>
|
---|
150 |
|
---|
151 |
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | </sect1>
|
---|
155 |
|
---|