@Override
	public DokanVolumeInformation onGetVolumeInformation(String arg0,
			DokanFileInfo arg1) throws DokanOperationException {
		DokanVolumeInformation info = new DokanVolumeInformation();
		info.maximumComponentLength = fileSystem.getMaxPathLength();
		if (fileSystem.supportsUnicodeFilenames())
			info.fileSystemFlags |= FILE_UNICODE_ON_DISK; 
			
		if (fileSystem.isCaseSensitive())
			info.fileSystemFlags |= FILE_CASE_SENSITIVE_SEARCH; 
		
		if (fileSystem.isCompressed())
			info.fileSystemFlags |= FILE_VOLUME_IS_COMPRESSED;
		
		if (fileSystem.isReadOnly())
			info.fileSystemFlags |= FILE_READ_ONLY_VOLUME;
	
		
		try
		{
			info.volumeSerialNumber = fileSystem.getVolumeSerialNumber();
	
			info.fileSystemName = fileSystem.getFileSystemName();
			if (info.fileSystemName == null)
				System.err.println("getFileSystemName() returns null");
			info.volumeName = fileSystem.getVolumeName();
			if (info.volumeName == null)
				System.err.println("getVolumeName() returns null");
		} catch (Exception e)
		{
			e.printStackTrace();
		}
		
		return info;
	}