Re: multi volume with tar
- From: Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx>
- Date: Fri, 09 Jun 2006 09:39:04 -0500
On 9 Jun 2006 06:45:27 -0700, heavytull staggered into the Black Sun and
said:
Dances With Crows wrote:
On 8 Jun 2006 05:21:33 -0700, heavytull staggered into the Black Sunyes you're right, there is no known fs for mount when the disk is
and said:
anyway I've already tried to write directly into the floppy byWait. What? gzipping something and writing the results directly to
doing so: gzip -c my_file.txt>/dev/sdb (sdb is the floppy drive (a
usb one)) it generated plenty of files with some random like names
on the media.
a disk definitely won't result in a filesystem-like structure. mount
won't mount that floppy.
directly written with tar or gzip or ... in fact I think the floppy
was already mounted when I did that,
Whoa. You *never* write to the raw device node of a mounted filesystem
unless you know exactly what you're doing. If you did that, yeah, you'd
see completely bogus info when you tried to stat() any files on that
filesystem, because writing directly to the device mangled the
superblock and FAT.
And you can't use compression with multivolume tar, either. If youI attempted to mount a disk written directly with tar and I
want compression, the thing to do is to tar up your stuff with z (or
j) enabled, then pipe it through split -b 1400K, then write each
split file to a floppy that has a filesystem on it.
couldn't mount it.
Nope.
So I might gain some space when written directly since there is no
filesystem, [right]?
Yes, but the gain's pretty small. FAT was designed for low overhead,
and if you want to compress things, you should create a filesystem
anyway. This is a very good idea because then the filenames let you
tell which part of which archive you've got on a disk.
"archiveNNN.tar.gz.01" through "archiveNNN.tar.gz.05" etcetera, copy
them to a larger disk, cat them all together, untar them. No worries.
No wondering which disk is which. And you can access the files on
non-Linux machines.
This multivolume archive thing is just too much of a PITA in the modern
computing world, though, especially with floppies. CD-R* drives are
cheap, USB keychain drives are cheap, and almost everything has an
Ethernet card. With all that, floppies will soon only be of interest to
computer archaeologists.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL
.
- Follow-Ups:
- Re: multi volume with tar
- From: heavytull
- Re: multi volume with tar
- From: heavytull
- Re: multi volume with tar
- References:
- multi volume with tar
- From: heavytull
- Re: multi volume with tar
- From: Dances With Crows
- Re: multi volume with tar
- From: heavytull
- Re: multi volume with tar
- From: Dances With Crows
- Re: multi volume with tar
- From: heavytull
- multi volume with tar
- Prev by Date: Re: updating cups
- Next by Date: Re: ndiswrapper on FC5 and Gnome Network Configurator
- Previous by thread: Re: multi volume with tar
- Next by thread: Re: multi volume with tar
- Index(es):
Relevant Pages
|