Hi,

> So, I want to be able to "tar -cf file.tar /mnt/sda4" and "growisofs -Z
> /dev/dvd/ -udf file.tar". I guess that to be able to do it, I should use
> a pipe, but I don't know how to do it.

My two cents.

Number 1:

  tar cf - /mnt/sda4 | growisofs -Z /dev/dvd=/dev/fd/0

will write the tar archive rawly to DVD.
To be read from unmounted DVD with
  tar tvf /dev/dvd

Better archivers for this purpose are afio and Joerg's star.
They recognize the end of an archive and thus do not have problems
with the fuzzy end of a DVD.

  find . | afio -oZ - | growisofs ...

resp.

  star -c -acl -link-dirs level=0 . | gzip | growisofs ...

If you need a mountable filesystem with an archive file in it:
mkisofs -stream-media-size can put a stream into a dingle file
ISO9660 file system. I never tried this myself.
One would have to put the mkisofs command into the pipe between
archiver command and growisofs.


Number 2:

My project
  http://scdbackup.sourceforge.net/main_eng.html
provides multi volume backup in formats ISO-9660, afio or star.
The appropriate commands would be

  sdvdbackup_afio .

resp. in star format

  export SDVDBACKUP_AFIO="$(scdbackup -where scripts)/star_as_afio_wrapper -acl"
  sdvdbackup_afio .


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to