LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Does afio work with cdrecord?

[ILUG] Does afio work with cdrecord?

P at draigBrady.com P at draigBrady.com
Fri Aug 26 11:50:03 IST 2005


Patrick Stack wrote:
> I'm trying to backup my /home directory prior to upgrading FC4 using
> afio with cdrecord with no success.
> I'm using the following command which I've adapted from the example
> given in man.
> find /home/patrick/* | afio -o -b -K -b 2048 -s 614400x '!cdrecord
> dev=0,0,0 -'
> 
> This seems to work and checks the data (-K) but then reports the
> following:
> Sense key: 0x5 Illegal Request, Segment 0
> before warning
> afio: "!cdrecord dev=0,0,0 -": Broken pipe
> 
> Version of afio is 2.4.6 - running RH9 (kernel 2.4.x)
> 
> Has anyone actually got this to work?

I've never used afio but I think the problem is
that cdrecord expects iso images not arbitrary data.
Also your assuming that "find | afio | cdrecord" will
be able to keep the CD recorders buffers from emptying.
(Note forcing cdrecord to a low speed would help).

If you have the disk space I would let afio create
many files, which can be "converted" to iso format
using mkisofs. Then you can safely interate over
these with cdrecord.

If you don't have the disk space, and you
have a fast/idle/ disk/cpu then you could try
(completely off the top of my head):

find ~patrick | afio -o -b -K -b 2048 -s 614400x '!mkisofs /dev/stdin 
| cdrecord -eject speed=8 dev=0,0,0 -'

Pádraig



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell