Re: refuse to update certain files upon extraction

Lasse Kliemann <[email protected]> Tue, 18 Mar 2008 20:05:35 +0100
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
--===============0126305918==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O"
Content-Disposition: inline


--zx4FCpZtqtKETZ7O
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Message by -Joerg Schilling- from Tue 2008-03-18:
> Lasse Kliemann <[email protected]> wrote:
>=20
> > I'm getting really close now.
> >
> > Remember that I wrote last week that I could reproduce this on ext2, ex=
t3,=20
> > xfs, and reiserfs? It turned out that on each of them -save ext3- the p=
roblem=20
> > was due to that 'rapid dump' thing. If I insert a sleep 1 after the dum=
p, the=20
> > problem only persists on ext3. Now we also have the explanation why the=
=20
> > problem disappeared on Solaris after I inserted the sleep 1.
>=20
>=20
> So do you propose to add a sleep(1) into star.c before it starts with the
> incremental dump and to use >=3D for the time compare?

Yes.

At first, I could not see how sleep(1) could prevent the same file to get=
=20
archived twice. It will in fact not make any difference when using snapshot=
s=20
of live filesystems. But if there is a cycle: change files, dump, change=20
files, dump, ..., then it will prevent files to be archived multiple times.


And *maybe*, as I wrote in my first message, there should be < in the=20
statement further down. I actually suggested > there in my first message, b=
ut=20
that's clearly wrong. But I am not sure about < either, because I don't kno=
w=20
what that case is for. It does not seem to be relevant for dumplevels large=
r=20
than 0 anyway.


Lasse

--zx4FCpZtqtKETZ7O
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQIcBAEBAgAGBQJH4BJ+AAoJEFYll6N4nhdvJkMP/1hFZyUZaql5CIDH+aLMHRM4
WUta964Ozj5JX7WzeNhZWNOPm/Sqw/OnwXgsa7yCTVZy5TtMDXMWv8szv7ihMEUE
MU2CVMgvk5ZDsjKTBcL02iPP5kP6jm6ka7feinkXRPaDvsq65rIgFlx/sramcnF3
IaReq1g7Vwya/hWHARiL1PKJ7i37rFCbC5p/fKRGz67xEA22h/QuaIhNqJYbWf/u
ckVTx1qew1XDRgTHxXxGnAbaYWaVKIzJcQtFa3RzEwy78imUhZr71YgEWqwyRLGo
uMO+utbBRmybR8GbCZ3st0QCwxFppL0ZU1ZevMgBl/kSL1C/Tg5oFEKVgGfK611w
YEnmQj1fEGnCrlYt+jpzwri8XMIReKJdq8szfM1uM4KGHAIpb2QA9L4I8dpNy6TQ
xkta7pPjGvGceF6DnhmK3Lq/7S2igMUtE5jPxh+QXFsDurwDxQkQ9awNx+1/lLqO
+JcjSzFW0iZzjXG6Lhnhw66JDiwhi7gcqZrYXSE8LbRTeN4jPvOTHKgZvB6uiPer
kv1wI176T1p9FRLvxVO2NIeP5FiHyUZdeuSQV9GzPnPJgj7ZPgRckx0qW2bCTdDH
HQTLegMZecZWyADQw2hopnMM/O3EYwp68B1lT5ASLEmGqx7avAclwR2iKpwY7hd/
tHA7IOqKIkcY6SapctLQ
=GlZx
-----END PGP SIGNATURE-----

--zx4FCpZtqtKETZ7O--

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

_______________________________________________
Star-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/star-users

--===============0126305918==--