docs: private File calculateFsRoot(File repositoryLocation) {
  		// Find first existing directory among ancestors
  		while (!AccessHelper.isDirectory(repositoryLocation)) {
  			repositoryLocation = repositoryLocation.getParentFile();
  		}
  		if (repositoryLocation.getName().equals(LogRepositoryBaseImpl.DEFAULT_LOCATION) ||
  				repositoryLocation.getName().equals(LogRepositoryBaseImpl.TRACE_LOCATION)) {
  			File parentFile = repositoryLocation.getParentFile() ;
  			if (AccessHelper.getTotalSpace(repositoryLocation) == AccessHelper.getTotalSpace(parentFile)) {
  				long thisFsSpace = AccessHelper.getFreeSpace(repositoryLocation) ;
  				long parentFsSpace = AccessHelper.getFreeSpace(parentFile) ;
  				// If it ends in tracedata or logdata and parent directory and this directory are highly similar (within 5%)
  				// in free space ... assume we can cut off the tracedata or logdata because on same fs. This means that
  				// in the case where the logs are the same fs ... we will consider combined needs.
  				if (thisFsSpace > 0 && parentFsSpace > 0 && thisFsSpace > (long)(parentFsSpace * .95) &&
  						thisFsSpace < (long)(parentFsSpace * 1.05)) {
  					repositoryLocation = parentFile ;
  				}
  			}
  		}
  		return repositoryLocation ;
  	}