pktcdvd0 have been around since the 2.4.x series kernels. It looks as though it's either part of the main kernel now or one of the gentoo patched kernels. In any case, how about adding an conf.d/init.d script to make use of this puppy? I've been applying the patches manually for each 2.6.x release without incident. Patches don't seem to be available for kernels >2.6.8, but the device seems to be present and works flawlessly with my startup/shutdown scripts. Reproducible: Always Steps to Reproduce: 1. include my cdrw conf.d/init.d scripts 2. use them 3. make your cdrw one big floppy, eh? Actual Results: Everything works perfectly (for me that is). Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 i686) ================================================================= System uname: 2.6.10-gentoo-r2 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jun 7 2004, 20:56:49)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.9.3, 1.4_p6, 1.6.3, 1.7.9, 1.5 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -fpermissive" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 16bit S3TC X a52 aac aalib accessibility acl adns aim alsa apm artworkextra async audiofile avi bash-completion berkdb bitmap-fonts blender-game bonobo bootsplash bsh bzlib cddb cdf cdparanoia cdr clanJavaScript clanVoice codecs cpdflib cross crypt cscope css cups curl dga dict dillo directfb divx4linux djbfft doc dts dv dvd dvdr editor edl eds encode escreen esd evo exif faac faad fam fame fbcon fbdev fdftk ffmpeg fftw flac fluidsynth fmod foomaticdb fortran fpx freetts freetype gb gcj gd gdbm gif gimp gimpprint gkrellm glade glgd glut gmp gnome gnomedb gnuplot gnustep gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hbci icon icq icu idea ieee1394 image imagemagick imlib imlib2 innodb ipcs ipv6 jabber jack jack-tmpfs java javadoc javamail javascript jbig jce joystick jp2 jpeg jpeg2k junit jython kde kerberos krb4 ladcca latex lcms ldap libcaca libdsk libgda libsamplerate libwww live lm_sensors lua lufsusermount lynxkeymap lzo lzw lzw-tiff mad makecheck matroska mbrola md5sum mdb mew mikmod mime mixer mjpeg mmap mmx mng mnogosearch mono motif mozaccess mozcalendar mozdevelop mozilla mozp3p mozplaintext mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msdav msn music mysql mysqli mythtv nas native ncurses net netcdf network nls no-opts nocd nptl ntlm nvidia objc ocaml odbc offensive ofx oggvorbis openal opengl opie oscar oss pam pcap pda pdfkit pdflib perl physfs pic plotutils png pnp portaudio ppds pthreads python qt quicktime quotes readline rhino rogue rtc ruby samba sasl scanner sdk sdl silc slang slp smime soundtouch sox speedo speex spell sqlite src sse ssl svg svga szip t1lib tcltk tcpd tetex tga theora threads tidy tiff timidity tlen tools transcode truetype type1 unicode usb uudeview v4l v4l2 vim-with-x wifi wmf wsconvert wxwin wxwindows xatrix xine xml xml2 xmms xosd xpm xprint xrandr xsl xv xvid xvmc yahoo yv12 zlib video_cards_nvidia"
Created attachment 48336 [details] conf.d/cdrw User configuration script
Created attachment 48338 [details] init.d/cdrw System startup/shutdown script. Tweak to your hearts content!
Created attachment 48341 [details] Relevant parts of /etc/fstab
Let us not forget the module: alias block-major-97 pktcdvd
If it's any help here's the forum and wiki links: http://forums.gentoo.org/viewtopic.php?t=173263&postdays=0&postorder=asc&highlight=udf&start=0 http://gentoo-wiki.com/HOWTO_Packet_Writing_on_CD-RW
this would make sense being part of sys-fs/udftools, not baselayout
You are right, of course. sys-fs/udftools is where this script belongs. Speaking of which, I have an updated version that's a little more robust. Enjoy.
Created attachment 49244 [details] init.d/cdrw part deux
Created attachment 52573 [details] Yet another script /etc/init.d/pktcdvd Yet another version of packet writing setup script.
Just to let you know I haven't forgotten about this. Despite having taken an interest in packet writing, I am currently living at uni where I don't have a cd writer and can't afford one. I'll buy one when I get paid (soon!) and have a play with pktcdvd :)
Please take my name off this bug. I'm retired.
Committed a simplified version of this init script to portage - thanks for your work! The version in udftools-1.0.0b-r5 autodetects the CDRW-capable devices and sets up nodes for them in the format /dev/pktcdvd/hdc Thanks.