[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bacula-devel] bscan Unknown stream type


Hi,

Yesterday i tried bscan to recreate database information.

I got many messages like:

bscan: bscan.c:800 Unknown stream type!!! stream=13 len=402
bscan: bscan.c:800 Unknown stream type!!! stream=14 len=32

in src/baconfig.h i found

#define STREAM_MACOS_FORK_DATA     13    /* Mac resource fork */
#define STREAM_HFSPLUS_ATTRIBUTES  14    /* Mac OS extra attributes */

yes, the scanned Volume contains macos backup data.

looked also at  bscan.c  and saw that those stream types are
simply not handled.

will the recreated catalog database incomplete ?
or would it be enough to add a simple case:

  case STREAM_MACOS_FORK_DATA:
  case STREAM_HFSPLUS_ATTRIBUTES:
      mjcr->JobBytes += rec->data_len;
      free_jcr(mjcr);                 /* done using JCR */
      break;

im unsure if this is critial,  but i think there
should be a case,   otherwise bscan may produce
millions of error messages.

Thanks
Ulrich
-- 
Ulrich Leodolter <ulrich.leodolter@xxxxxxxx>
OBVSG


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.