mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
No more "UUID set" message as misleading for empty disks.
This commit is contained in:
parent
c6a3742b40
commit
ea49d5dd4b
2 changed files with 4 additions and 1 deletions
2
HISTORY
2
HISTORY
|
|
@ -8,6 +8,8 @@ SnapRAID HISTORY
|
|||
* When saving the content file keep a copy of the previos one adding
|
||||
the ".backup" extension.
|
||||
* Auto exclude the lock file.
|
||||
* Don't prints the 'UUID set' message anymore because it's the normal
|
||||
condition for empty disks.
|
||||
|
||||
6.2 2014/5
|
||||
==========
|
||||
|
|
|
|||
|
|
@ -1021,8 +1021,9 @@ static void state_map(struct snapraid_state* state)
|
|||
++uuid_mismatch;
|
||||
fprintf(stderr, "UUID change for disk '%s' from '%s' to '%s'\n", disk->name, map->uuid, uuid);
|
||||
} else {
|
||||
/* no message here, because having a disk without */
|
||||
/* UUID is the normal state of an empty disk */
|
||||
disk->had_empty_uuid = 1;
|
||||
fprintf(stderr, "UUID set for disk '%s' to '%s'\n", disk->name, uuid);
|
||||
}
|
||||
|
||||
/* update the uuid in the mapping, */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue