On Thu, 10 Jul 2008 19:05:55 +0200 Dirk Heinrichs <[EMAIL PROTECTED]> wrote:
> Am Donnerstag, 10. Juli 2008 schrieb Daniel Iliev: > > On Thu, 10 Jul 2008 13:06:06 +0200 > > > > Dirk Heinrichs <[EMAIL PROTECTED]> wrote: > > > Hmm, never tried it myself so I don't know wether it works or not, > > > but what about enabling CONFIG_CDROM_PKTCDVD in the kernel and let > > > tar write to the device directly? > > > > > > Like: > > > > > > modprobe pktcdvd > > > pktsetup backup /dev/cdrom > > > tar -cMvf /dev/pktcdvd/backup myfiles # Change disc when prompted > > > pktsetup -d backup > > > rmmod pktcdvd > > [-snip-] > > If you just wanted to have a file system (other than isofs) on a > > write-once *DVD*, you can do something like: > > No, why would I? The idea behind the above is to let _tar_ write to > the device directly, as it would do with tape devices. No fs > involved. Ah! Now I got it. "tar -M". I've missed that part. I'm sorry. > OTOH, if I wanted a filesystem, that would be UDF, which I > could still write to using the method above (+ create the fs with > cdrwtool before running pktsetup and then mount it, of course). > > > dd if=/dev/null of=test.fs bs=1M seek=4480 count=0 [-snip-] > > And that would give me a multi volume backup if the data doesn't fit > on one disc? > No, no. It has nothing to do with multi-volumes. As I said I didn't see the "-M" part from your message and merely showed that one can write files directly without packet writing and those files can be FS images. BTW there is a tool called "splipipe" [1] that can emulate the behaviour of "tar -M" without packet writing. I've used it and it worked perfectly. [1] http://ds9a.nl/splitpipe/ Please don't get me wrong. I'm not advising against packet writing. I'm merely sharing the methods for making backup on DVDs I'm aware of in hope someone could benefit from the info. -- Best regards, Daniel -- gentoo-user@lists.gentoo.org mailing list