diff -r acef663c1218 -r b73a2e62868f harvester/monitorplugins/mdsfileserverplugin/src/mdsfileserverplugin.cpp --- a/harvester/monitorplugins/mdsfileserverplugin/src/mdsfileserverplugin.cpp Tue Jan 26 12:13:20 2010 +0200 +++ b/harvester/monitorplugins/mdsfileserverplugin/src/mdsfileserverplugin.cpp Tue Feb 02 00:24:33 2010 +0200 @@ -391,9 +391,21 @@ break; case EFsFormatOpen: + { WRITELOG( "CMdsFileServerPlugin::DoRequestL() - EFsFormatOpen" ); // get the drive letter - err = iFsSession.Volume( volInfo, drvNumber ); + RFsPlugin fsplugin( aRequest ); + const TInt rfsPluginError( fsplugin.Connect() ); + if( rfsPluginError == KErrNone ) + { + err = fsplugin.Volume( volInfo, drvNumber ); + } + else + { + err = iFsSession.Volume( volInfo, drvNumber ); + } + fsplugin.Close(); + if( KErrNone == err ) { iFormatOldMediaId = volInfo.iUniqueID; @@ -406,6 +418,7 @@ iFormatDriveNumber = -1; } return KErrNone; + } case EFsFormatSubClose: WRITELOG( "CMdsFileServerPlugin::DoRequestL() - EFsFormatSubClose" );