articoli.png
Titolo: Debian: Packet-Writing
Autore: debtown

Packet_Writing con una CD_RW

Realizzato con debian sarge , Vanilla-kernel-2.6.11/13.x .

CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
CONFIG_CDROM_PKTCDVD_WCACHE=y

Come vedete, ho anche attivato nel kernel Write-Cache. Cosi ho una Performance molto piu alta. :))

1. apt-get install udftools

2. modprobe pktcdvd ed "echo pktcdvd >> /etc/modules"

3. mknod /dev/pktcdvd/0 b 97 0

4. mkdir /media/dvd

5. nano /etc/fstab ed aggiungi \"/dev/pktcdvd/0 /media/dvd udf noauto,noatime,rw,users 0 0\"

6. chmod 0777 /media/dvd

inserite ora una CD/RW nel vostro Masterizzatore,

7. cdrwtool -d /dev/hd? -q

8. edit la tua /etc/default/udftools
esempio:

# la device del masterizzatore

# Drives to register for packet writing:
DEVICES="/dev/hda"

# In case detection of udev on your system fails, override it here.
# Possible values are "true" or "false".
UDEV=false

# Pktcdvd patches for kernels 2.6.8 and later use a new interface for
# talking to the kernel, as well as a new set of device nodes. In case
# detection of the proper interface on your system fails, override
# it here. Possible values are "true" or "false".
NEWINT=true

# Only when using the new interface do you have the option to choose the
# names for the packet writing devices. This is ignored otherwise.
# For example, if DEVICES="/dev/hdd /dev/sr0" and
# NEWINTNAMES="cdwriter dvdwriter", then /dev/hdd will correspond to
# /dev/pktcdvd/cdwriter, and /dev/sr0 will correspond to
# /dev/pktcdvd/dvdwriter. The default setting is NEWINTNAMES="0 1 2 3".
NEWINTNAMES="0"

9. /etc/init.d/udftools restart

Se poi volete usare il vostro Masterizzatore normale senza Packet_Writing, basta un "umount /media/dvd" ed un /etc/init.d/udftools stop.


Linux-Zone.it la zona Linux - Linux, Opensource, informatica libera