OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: vimes on March 14, 2006, 03:11:06 pm

Title: Cdrecord Ipkg Available - Backup ?
Post by: vimes on March 14, 2006, 03:11:06 pm
Couldn't find ipk for this so built it... needed to build  [ You are not allowed to view attachments ]  (binary if needed in future) first

 [ You are not allowed to view attachments ]

ipk contains;
Quote
/dev/sg0 (needed by cdrecord itself)

/usr/local/bin:
cdda2wav* devdump*  isodump*  isovfy*   mkisofs*  scgcheck*
cdrecord* isodebug* isoinfo*  mkhybrid@ readcd*   skel*

/usr/local/sbin:
rscsi*
for my dvd writer I needed to manually create /dev/sr0... your device might be different ???
Quote
mknod /dev/sr0 b 11 0
basic function is...
Code: [Select]
mkisofs -J -r -o test.iso Images/
mount -t iso9660 -o ro,loop test.iso /mnt/scratch (to verify)
umount /mnt/scratch
cdrecord -scanbus
cdrecord -v speed=2 dev=0,0,0 -data test.iso (dev numbers should be from output of last cmd)
mount -t iso9660 /dev/sr0 /mnt/cdrom (to verify)

with above cmd I have sucessfully written a 20mb cdr at an average x3 speed in a couple of jiffies. Being honest though, this is the first time I've written a cd on linux so the above can probably be done much better/quicker.

...before any of you ask WHY...  because my c3000 can
there is also an idea behind this... wouldn't it be nice to have a script that would backup/restore pdaxrom with cdrw/dvdrw... ok it'd take ages but it would be nice and simple... I'm wondering whether there's enough ooomph... power, it's a technical term  in my Z to enable me to do all this in one step ????

If anyone has any practical ideas how to achieve this then please post.