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