On Thu, 10 Jul 2008 13:06:06 +0200
Dirk Heinrichs <[EMAIL PROTECTED]> wrote:

> Am Donnerstag, 10. Juli 2008 schrieb ext Dale:
> 
> > Thought I would move this problem to a new thread.  It may not be
> > related to the DVD itself.  This is what I am currently testing.  I
> > used Kbackup to create a tarball in my /backup directory.  I have
> > the most basic setup for Kbackup at the moment.  It creates the
> > tarball but does not compress the files themselves but creates
> > a .tar file.  I think it takes the files, places it in the tarball
> > then compresses it or something.  I'm not real sure how Kbackup
> > does its thing.  I have it set to create tarballs and the limit is
> > 4.4Gbs.  I set it just short of a full 4.7Gb.
> 
> 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
> 
> Bye...
> 
>       Dirk

AFAIK packet writing is intended for using RW media as a "normal"
block device. I have never tried it myself either.

If you just wanted to have a file system (other than isofs) on a
write-once *DVD*, you can do something like:

dd if=/dev/null of=test.fs bs=1M seek=4480 count=0
mkfs.ext2 test.fs
mkdir loopdir
mount -o loop test.fs loopdir 
cp -a "some files & dirs" loopdir/
umount test.fs
rm -r loopdir
pipebench -b 50000000 < test.fs | growisofs -Z /dev/sr0=/dev/fd/0
mount /dev/dvd /mnt/dvd


-- 
Best regards,
Daniel
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to