[fedora] dd

Mikkel L. Ellertson mellertson at gmail.com
Sun Sep 4 18:29:25 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/04/2011 08:53 AM, Aaron Konstam wrote:
> I am not sure what the problem is.
> The following works for me:
> tar cf archive.tar first
> tar -rf archive.tar second
> 
> This produces a file that when one runs:
> tar xf archive.tar 
> produces the files first and second in the directory.
> 
> And as I said is that the complexity of the process can be reduced by
> creating a shell script with the new file name as the argument and
> resulting in the archive.
> 
One thing that can cause problems when creating an archive of disk
images is that you can run out of disk space when creating/updating
the archive. This is especially true when using the j or z options
so that tar compresses the archive. It has to have enough space to
uncompress the archive, and the new file, and compress it again.

You should also consider where tar is putting its temporary files.
It may not be on the same file system as the archive. I believe tar
honers the TMP shell variable.

Mikkel
- -- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEUEARECAAYFAk5jw30ACgkQqbQrVW3JyMQzQACY7OfBMZx6lcV5TIjrRx+tmyOc
bQCcDktbKnBJaHYU6++uXXvGWfT3jIA=
=XVVU
-----END PGP SIGNATURE-----


More information about the users mailing list