Re: rdump

[email protected] Tue, 27 Dec 2005 12:03:42 +0100 (CET)
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
--===============1922340007==
Content-Type: Multipart/Signed; protocol="application/pgp-signature";
	micalg=pgp-sha1;
	boundary="--Security_Multipart(Tue_Dec_27_12_03_42_2005_148)--"
Content-Transfer-Encoding: 7bit

----Security_Multipart(Tue_Dec_27_12_03_42_2005_148)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

On 27 Dec 2005, Miek Gieben wrote:

> *ai* :) rdump (I may rename it to rdup) also needs to hold the
> filesnames in memory.

But your code will be more efficient than 'tar' :-) see below

> As most filesnames share a common prefix a lot
> of memory could be saved. Currently this does not happen. If you want
> to learn C, this is your chance :-) Right now, rdump is an extremely
> simple and elegant program :-)
>
> btw, dare I ask how big your resulting tar file is? :)

Not large, around 20 GB because we have many small files.
The problem is 'tar': the file list is only 200 MB, but
'tar' needs 1 GB RAM for using it :-(

Greetings
Sven

----Security_Multipart(Tue_Dec_27_12_03_42_2005_148)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDsR+OxztbDwtWmxMRAk0TAKCkkNDb+3l1cUcwKbgFbKpNwGquOwCeN13w
MvJR1C6DW8fxEXudY/8fcmY=
=zSZp
-----END PGP SIGNATURE-----

----Security_Multipart(Tue_Dec_27_12_03_42_2005_148)----

--===============1922340007==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
hdup-user mailing list
[email protected]
http://atoom.net/cgi-bin/mailman/listinfo/hdup-user

--===============1922340007==--