/* tell vss which drives to snapshot */
char szWinDriveLetters[27];
*szWinDriveLetters=0;
+ /* Plugin driver can return drive letters */
generate_plugin_event(jcr, bEventVssPrepareSnapshot, szWinDriveLetters);
if (get_win32_driveletters(jcr->ff, szWinDriveLetters)) {
Jmsg(jcr, M_INFO, 0, _("Generate VSS snapshots. Driver=\"%s\", Drive(s)=\"%s\"\n"), g_pVSSClient->GetDriverName(), szWinDriveLetters);
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2010 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2012 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
return 0;
#endif
int nCount;
- /* Can be already filled by plugin, so check that everything
- * is on upper case. TODO: can check for dupplicate?
+ /*
+ * Can be already filled by plugin, so check that all
+ * letters are in upper case. There should be no duplicates.
*/
for (nCount = 0; nCount < 27 && szDrives[nCount] ; nCount++) {
szDrives[nCount] = toupper(szDrives[nCount]);