[vox-tech] IDE cdrw/dvdrw

Ken Bloom vox-tech@lists.lugod.org
Fri, 2 Apr 2004 08:17:29 -0800


On 2004.04.02 07:52, Peter Jay Salzman wrote:
> On Thu 01 Apr 04,  8:13 AM, Ken Bloom <kabloom@ucdavis.edu> said:
> >
> > One cool thing is that you can now just specify the device file for
> > the cd drive, instead of having to scanbus and choose something like
> > 0,5,0.
> >
> > Consider the following lines from my ~/bin/backup as an example:
> >
> >
> > mkisofs -r -J -l -o ${TMPDIR}/backup.iso -C \
> >    `cdrecord -msinfo dev=/dev/cdroms/cdrom0` \
> >    -M /dev/cdroms/cdrom0 $BACKUP_FILE $BACKUP_ETC
> >
> > cdrecord -v -multi speed=8 dev=/dev/cdroms/cdrom0 -data
> ${TMPDIR}/backup.iso
> >
> > (Once again, udev with the devfs naming scheme should explain the
> > device file names, you can just use /dev/hdc - assuming that's where
> > your device file is)
> 
> ken, that's pretty cool.
> 
> i didn't know that udev was ready for prime time.  i think i'll still
> wait a bit before playing around with it.  i spent way too much time
> with devfs only to learn a year later that it was being deprecated...

They're still working out the bugs in udev in debian unstable. You should  
probably wait a while.

> ken, why do you use -J and -l together?  isn't joliet capable of
> handling longer filenames than 31 characters?

I think I did it just in case I run across some reader that doesn't read  
the joliet extensions. But since I'm not likely to do that with my backups,  
I don't know why I did it. Just 'cause...


-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.
My key was last signed 10/14/2003. If you use GPG *please* see me about
signing the key. ***** My computer can't give you viruses by email. ***