From eb8b8c165a973d5b2c3fa2c46aa3fce9a783ec7c Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 1 Aug 2010 19:14:44 +0200 Subject: [PATCH] Make Win32 no filesystem change more explicit --- bacula/src/filed/backup.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bacula/src/filed/backup.c b/bacula/src/filed/backup.c index faaaf76665..3a2b66609b 100644 --- a/bacula/src/filed/backup.c +++ b/bacula/src/filed/backup.c @@ -347,8 +347,13 @@ int save_file(JCR *jcr, FF_PKT *ff_pkt, bool top_level) case FT_NOFSCHG: /* Suppress message for /dev filesystems */ if (!is_in_fileset(ff_pkt)) { - Jmsg(jcr, M_INFO, 1, _(" %s is a different filesystem. Will not descend from %s into %s\n"), - ff_pkt->fname, ff_pkt->top_fname, ff_pkt->fname); +#ifdef HAVE_WIN32 + Jmsg(jcr, M_INFO, 1, _(" %s is a junction point or a different filesystem. Will not descend from %s into it.\n"), + ff_pkt->fname, ff_pkt->top_fname); +#else + Jmsg(jcr, M_INFO, 1, _(" %s is a different filesystem. Will not descend from %s into it.\n"), + ff_pkt->fname, ff_pkt->top_fname); +#endif } ff_pkt->type = FT_DIREND; /* Backup only the directory entry */ break; -- 2.39.5