Re: multi volume with tar
- From: "heavytull" <heavytull@xxxxxxxxxxx>
- Date: 9 Jun 2006 06:45:27 -0700
Dances With Crows wrote:
On 8 Jun 2006 05:21:33 -0700, heavytull staggered into the Black Sun and
said:
Dances With Crows wrote:
heavytull wrote:What's [a] USB keychain drive?
tar -cvfM /mnt/floppy/my_file.tar ~/my-file.txtFloppy disks suck. Don't use them if there's any other way. USB
keychain drives are much faster and much higher capacity,
It's a small device, about 5cm x 1.5cm x 0.7cm , with a USB port on it.
They're called "keychain" drives because you can clip them to a
keychain. Inside the device is a microcontroller and 32M .. 1G of flash
memory. The device follows USB Mass Storage specs, draws a few mA from
the USB port, and generally behaves as a storage device. They've been
fairly common (and relatively cheap) here in the USA for the last 5
years. YCountryMV.
Also, when you're doing multivolume tar, you want to use the deviceanyway I've already tried to write directly into the floppy by doing
node instead of the mountpoint. You have to eject the medium you're
tarring to when tar gets EOF from write(), and ejecting a mounted
medium is Not A Good Idea.
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.
Wait. What? gzipping something and writing the results directly to a
disk definitely won't result in a filesystem-like structure. mount
won't mount that floppy. And you can't use compression with multivolume
tar, either. If you 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. HTH,
yes you're right, there is no known fs for mount when the disk is
directly written with tar or gzip or ...
in fact I think the floppy was already mounted when I did that, because
I attempted to mount a disk witten into directly with tar and I
couldn't mount it.
so I might gain some space when written directly since there is no
filesystem, is it?
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: Dances With Crows
- 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
- multi volume with tar
- Prev by Date: Re: writing a GUI for an app running under Linux ?
- Next by Date: Re: Kmail files
- Previous by thread: Re: multi volume with tar
- Next by thread: Re: multi volume with tar
- Index(es):
Relevant Pages
|