* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*-
*/
#ifndef lint
-#if 0
-static char sccsid[] = "@(#)itime.c 8.1 (Berkeley) 6/5/93";
-#endif
static const char rcsid[] =
- "$Id: itime.c,v 1.4 1999/10/11 13:08:07 stelian Exp $";
+ "$Id: itime.c,v 1.7 1999/10/31 19:48:28 tiniou Exp $";
#endif /* not lint */
#include <sys/param.h>
spcl.c_ddate = 0;
lastlevel = '0';
- /* if we're not going to update dumpdates, there's no point in reading
- it, particularly since /var might not be mounted... wait until here
- to benefit from the initialization of variables needed by parent */
- if (!uflag && level == lastlevel)
+ /* If this is a level 0 dump, there's no point in trying to read
+ dumpdates. It may not exist yet, or may not be mounted. For
+ incrementals, we *must* read dumpdates (fail if it's not there!) */
+ if (level == lastlevel)
return;
initdumptimes(createdumpdates);
if (ddatev == NULL)