Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77726 - add pktsetup init.d script to udftools
Summary: add pktsetup init.d script to udftools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Drake (RETIRED)
URL: http://web.telia.com/~u89404340/patch...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-12 12:29 UTC by John Ross Hunt
Modified: 2005-09-05 15:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
conf.d/cdrw (conf.d-cdrw,238 bytes, text/plain)
2005-01-12 12:32 UTC, John Ross Hunt
Details
init.d/cdrw (init.d-cdrw,1.93 KB, text/plain)
2005-01-12 12:32 UTC, John Ross Hunt
Details
Relevant parts of /etc/fstab (fstab,121 bytes, text/plain)
2005-01-12 14:06 UTC, John Ross Hunt
Details
init.d/cdrw part deux (cdrw,2.33 KB, text/plain)
2005-01-22 18:33 UTC, John Ross Hunt
Details
Yet another script /etc/init.d/pktcdvd (pktcdvd,1.47 KB, text/plain)
2005-03-03 14:01 UTC, Eugeny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Ross Hunt 2005-01-12 12:29:27 UTC
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"
Comment 1 John Ross Hunt 2005-01-12 12:32:00 UTC
Created attachment 48336 [details]
conf.d/cdrw

User configuration script
Comment 2 John Ross Hunt 2005-01-12 12:32:42 UTC
Created attachment 48338 [details]
init.d/cdrw

System startup/shutdown script.  Tweak to your hearts content!
Comment 3 John Ross Hunt 2005-01-12 14:06:35 UTC
Created attachment 48341 [details]
Relevant parts of /etc/fstab
Comment 4 John Ross Hunt 2005-01-12 14:25:54 UTC
Let us not forget the module: alias block-major-97 pktcdvd
Comment 6 SpanKY gentoo-dev 2005-01-12 15:20:21 UTC
this would make sense being part of sys-fs/udftools, not baselayout
Comment 7 John Ross Hunt 2005-01-22 18:32:11 UTC
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.
Comment 8 John Ross Hunt 2005-01-22 18:33:16 UTC
Created attachment 49244 [details]
init.d/cdrw part deux
Comment 9 Eugeny 2005-03-03 14:01:10 UTC
Created attachment 52573 [details]
Yet another script /etc/init.d/pktcdvd

Yet another version of packet writing setup script.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2005-03-03 14:22:58 UTC
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 :)
Comment 11 John Ross Hunt 2005-04-26 17:02:03 UTC
Please take my name off this bug.  I'm retired.
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2005-09-05 15:12:10 UTC
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.