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