Subject: cdpack -pipe enhancement
To: None <tech-pkg@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 07/31/2002 14:42:08
I was thinking of adding some sort of -pipe option to pkgtools/cdpack.
The idea is that rather than writing the ISO 9660 images to disk you could
pipe them to cdrecord and thus directly write them to CD.  Since a
complete set of binary packages is now in the 4-6 CD size, this could be a
big help to a disk space challenged system.

So my question is any suggestions for how this should look?

one thought is

cdpack [the usual cdpack options ] -pipe "cdrecord dev=/dev/rcd0d speed=4"

That way you can specify a whole pile of options to cdrecord as a quoted
string.

the other thought I had is to make it more like

cdpack [the usual cdpack options] -cddirect -dev=/dev/rcd0d -speed=4

this is nice because now cdpack can know which device is the cd burner so
it can eject cd's as they are burned.

comments?

-Dan