-$Id: CHANGES,v 1.252 2004/07/05 15:02:32 stelian Exp $
+$Id: CHANGES,v 1.253 2004/07/05 15:12:44 stelian Exp $
Changes between versions 0.4b36 and 0.4b37 (released ??????????????)
====================================================================
5. Made dump use the blkid library when searching for devices
by label or uuid instead of dump's own routines.
+6. Corrected a bug in dump where a wrong LABEL=... line in
+ /etc/fstab could prevent dump from dumping unrelated
+ filesystems. Thanks to Bruce Lowekamp
+ <lowekamp@users.sourceforge.net> for reporting the bug.
+
Changes between versions 0.4b35 and 0.4b36 (released April 21, 2004)
====================================================================
#ifndef lint
static const char rcsid[] =
- "$Id: main.c,v 1.93 2004/06/02 09:22:49 stelian Exp $";
+ "$Id: main.c,v 1.94 2004/07/05 15:12:45 stelian Exp $";
#endif /* not lint */
#include <config.h>
diskparam[i] = '\0';
disk = get_device_name(diskparam);
- if (!disk) { /* null means the disk is some form
- of LABEL= or UID= but it was not
- found */
- msg("Cannot find a disk having %s\n", diskparam);
- msg("The ENTIRE dump is aborted.\n");
- exit(X_STARTUP);
- }
+ if (!disk)
+ disk = strdup(diskparam);
+
/*
* disk can be either the full special file name,
* the suffix of the special file name,
#ifndef lint
static const char rcsid[] =
- "$Id: optr.c,v 1.38 2004/04/21 08:55:51 stelian Exp $";
+ "$Id: optr.c,v 1.39 2004/07/05 15:12:45 stelian Exp $";
#endif /* not lint */
#include <config.h>
/* Translade UUID=, LABEL= ... */
disk = get_device_name(fs->mnt_fsname);
if (disk == NULL)
- quit("Cannot find a disk having %s\n", fs->mnt_fsname);
+ disk = strdup(fs->mnt_fsname);
/* Discard non block devices */
if (stat(disk, &buf) != 0 || !S_ISBLK(buf.st_mode)) {