Re: SuSE 8.2
Is there a way I can unpack a *.tar package directly onto a CD-RW disk?
I didn't see any reference to that in the KDE CD-RW application.
thanks
--
Dennis Tuchler
On Mon, 23 Jun 2003 12:14:02 -0500
Dennis Tuchler
Re: SuSE 8.2
Is there a way I can unpack a *.tar package directly onto a CD-RW disk? I didn't see any reference to that in the KDE CD-RW application.
I don't hink you can do that unless you are running an "experimental filesystem" called UDF packet writing. Do a google search for CD-RW UDF (Packet-CD) filesystem Otherwise, you need to some kind of "virtual filesystem mounted via loop" to make an image, which can be burned. You might want to try making an virtual filesystem, and write it out when it's full. Something like: dd if=/dev/zero of=image.iso bs=1024k count=620 /sbin/mke2fs -F -b 2048 image.iso mount -t ext2 -o loop image.iso /mnt/tempimage Now you can untar things in /mnt/tempimage or do whatever you want. When it gets full, just umount it, and write the isoimage to cd-rw. -- use Perl; #powerful programmable prestidigitation
On Mon, 2003-06-23 at 12:40, zentara wrote:
On Mon, 23 Jun 2003 12:14:02 -0500 Dennis Tuchler
wrote: Re: SuSE 8.2
Is there a way I can unpack a *.tar package directly onto a CD-RW disk? I didn't see any reference to that in the KDE CD-RW application.
I don't hink you can do that unless you are running an "experimental filesystem" called UDF packet writing. Do a google search for CD-RW UDF (Packet-CD) filesystem
Otherwise, you need to some kind of "virtual filesystem mounted via loop" to make an image, which can be burned.
You might want to try making an virtual filesystem, and write it out when it's full. Something like:
dd if=/dev/zero of=image.iso bs=1024k count=620 /sbin/mke2fs -F -b 2048 image.iso mount -t ext2 -o loop image.iso /mnt/tempimage
Now you can untar things in /mnt/tempimage or do whatever you want. When it gets full, just umount it, and write the isoimage to cd-rw.
Thanks for the information! This is one of those cases where
Windows has it over Linux, according to a Windows user wh tells me she
can unzip packages directly onto a CD-RW using unzip and redirection.
--
Dennis Tuchler
I don't hink you can do that unless you are running an "experimental filesystem" called UDF packet writing. Do a google search for CD-RW UDF (Packet-CD) filesystem
Otherwise, you need to some kind of "virtual filesystem mounted via loop" to make an image, which can be burned.
You might want to try making an virtual filesystem, and write it out when it's full. Something like:
dd if=/dev/zero of=image.iso bs=1024k count=620 /sbin/mke2fs -F -b 2048 image.iso mount -t ext2 -o loop image.iso /mnt/tempimage
Now you can untar things in /mnt/tempimage or do whatever you want. When it gets full, just umount it, and write the isoimage to cd-rw.
Thanks for the information! This is one of those cases where Windows has it over Linux, according to a Windows user wh tells me she can unzip packages directly onto a CD-RW using unzip and redirection.
That's a WinXP feature that is the result of MS deciding to integrate CD-Burning into to OS. The result is actually similar to what zentara described above about UDF packet writing. Also, wouldn't it be better to use mkisofs instead of dd/mke2fs in the second example? If you make it as an ext2 fs, you'll only be able to read the disk in Linux. (May fit your needs, but it's still a limitation) -- trey
On Mon, 2003-06-23 at 20:14, Dennis Tuchler wrote:
This is one of those cases where Windows has it over Linux, according to a Windows user wh tells me she can unzip packages directly onto a CD-RW using unzip and redirection.
Then she is using packet CD, perhaps the one she got when she installed Adaptec's software?! You can use packet CD in linux too, as zentara mentioned, it just doesn't come as default
What about something like tar -x --to-stdout -f <tarfile> | mkiofs -R <options> | cdrecord <options> dev=<device> - (all on one line) I use a similar pipe for backups, using mkisofs and cdrecord adapted from an example in the mkiofs man page You wlll have to experiment a bit. First omit the cdrecord part of the pipe and save to an iso image file in /tmp. Then mount it loopback to check that everything is OK, and then add the cdrecord to the pipe. Sorry about the command line, but this is the way to go if you want something a little out of the ordinary. Consult the man pages for tar, mkisofs and cdrecord. Of course once you have got it to work, you can save the command to a little script and bingo - you can use it again as much as you want. Hope this helps Basil Fowler There are a few gaps to be filled in with respect to the options On Monday 23 Jun 2003 17:40, zentara wrote:
On Mon, 23 Jun 2003 12:14:02 -0500 Dennis Tuchler
wrote: Re: SuSE 8.2
Is there a way I can unpack a *.tar package directly onto a CD-RW disk? I didn't see any reference to that in the KDE CD-RW application.
I don't hink you can do that unless you are running an "experimental filesystem" called UDF packet writing. Do a google search for CD-RW UDF (Packet-CD) filesystem
Otherwise, you need to some kind of "virtual filesystem mounted via loop" to make an image, which can be burned.
You might want to try making an virtual filesystem, and write it out when it's full. Something like:
dd if=/dev/zero of=image.iso bs=1024k count=620 /sbin/mke2fs -F -b 2048 image.iso mount -t ext2 -o loop image.iso /mnt/tempimage
Now you can untar things in /mnt/tempimage or do whatever you want. When it gets full, just umount it, and write the isoimage to cd-rw.
-- use Perl; #powerful programmable prestidigitation
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (5)
-
Anders Johansson
-
Basil Fowler
-
Dennis Tuchler
-
Trey Gruel
-
zentara