source: multimedia/cdwriteutils/udftools.xml@ a9fd38e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a9fd38e was 4f6275fd, checked in by Randy McMurchy <randy@…>, 20 years ago

Change hardcoded version numbers to entities in various packages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2395 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 KB
Line 
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
22contains utilities for creating and mounting
23<acronym>CD</acronym>-<acronym>RW</acronym> disks with
24<acronym>UDF</acronym> file systems for both
25reading and writing. <acronym>UDF</acronym> files systems are used on
26both <acronym>CD</acronym>-<acronym>RW</acronym> media and
27on <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
44url="&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>
56drive if it is from one of the few mentioned at
57<ulink url="http://slashdot.org/article.pl?sid=03/10/25/1737244"/>. Do
58not 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
62the 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
67here:</para>
68
69<screen>Block devices
70 Packet writing on CD/DVD media: Y or M
71File 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 &amp;&amp;
78make CC=/opt/gcc-2.95.3/bin/gcc bzImage &amp;&amp;
79make CC=/opt/gcc-2.95.3/bin/gcc modules &amp;&amp;
80make CC=/opt/gcc-2.95.3/bin/gcc modules_install</command></userinput></screen>
81
82<para>
83Copy <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>
87appropriately 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
95class="directory">/dev</filename>, add one node for every
96<acronym>CD</acronym>-<acronym>RW</acronym> drive you
97want to support:</para>
98
99<screen><userinput><command>mknod /dev/pktcdvd0 b 97 0
100mknod /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
109running the following commands:</para>
110
111<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
112make &amp;&amp;
113make 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
121contains <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
130associations between the kernel packet driver and a physical drive.</para>
131
132<para>Example:
133<screen><command>pktsetup /dev/pktcdvd0 /dev/scd0
134mount /dev/pktcdvd0 /mnt/cdrom -t udf -o rw,noatime</command></screen>
135
136associates the physical device <filename>/dev/scd0</filename> with the
137kernel packet driver <filename>/dev/pktcdvd0</filename>, then mounts a
138<acronym>UDF</acronym> formatted
139<acronym>CD</acronym>-<acronym>RW</acronym> for read/write
140access.</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
145new disks, setting the read and write speeds, etc.</para>
146
147<para>Example:
148<screen><command>cdrwtool -d /dev/scd0 -q</command></screen>
149
150prepares a new <acronym>CD</acronym>-<acronym>RW</acronym> for use and
151formats 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
Note: See TracBrowser for help on using the repository browser.