Skip to Content
PC Hardware in a Nutshell, 3rd Edition
book

PC Hardware in a Nutshell, 3rd Edition

by Robert Bruce Thompson, Barbara Fritchman Thompson
July 2003
Beginner to intermediate
874 pages
38h 13m
English
O'Reilly Media, Inc.
Content preview from PC Hardware in a Nutshell, 3rd Edition

Packet Writing with Linux

Beginning with the 2.4 kernel, Linux offers limited packet-writing support. The 2.4 and 2.5 kernels have no native support for packet writing, but a kernel patch is available from the Linux UDF Project (http://sourceforge.net/projects/linux-udf) that adds basic packet-writing functions. The kernel patch should work with any CD-(M)RW drive that supports packet writing. As we write this, the major limitations of the patch are that it supports only CD-RW media and fixed-length packet writing.

To enable packet writing under Linux, take the following steps:

  1. Download the latest version of the patch from kernel.org and apply it.

  2. Configure the kernel by selecting packet support in the block device section and UDF support in the filesystem section.

  3. Compile the kernel and modules, install the kernel, and reboot the system.

  4. Download the latest version of cdrwtool, which is needed to format CD-RW discs.

  5. Use the command make lib tools udf.o install to compile and install UDF support.

  6. Format a new CD-RW disc using the command cdrwtool -d /dev/<device> -q.

  7. Use the command ls /dev/pk* to verify that /dev/pktcdvd0 exists. If it doesn’t, use the command mknod /dev/pktcdvd0 b 97 0 to create it.

  8. Use the command pktsetup /dev/pktcdvd0 /dev/<device> to set up the CD writer.

  9. Use the command mount /dev/pktcdvd0 to mount the device, at which point you should be able to read from and write to the drive.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

PC Hardware in a Nutshell, Second Edition

PC Hardware in a Nutshell, Second Edition

Robert Bruce Thompson, Barbara Fritchman Thompson
Computer Busses

Computer Busses

William Buchanan

Publisher Resources

ISBN: 059600513XErrata Page