public List<String> getMountFolders() {
		List<String> dirs = new ArrayList<>();

		sc: for (ServerCategory cat : this.categories.values()) {
			String path = cat.getPath();
			Iterator<String> it = dirs.iterator();
			String dir;
			while(it.hasNext()) {
				dir = it.next();
				if(path.startsWith(dir + "/")) { // We already know this mount.
					continue sc;
				}
				if(path.equalsIgnoreCase(dir)) {
					continue sc;
				}
				if(dir.startsWith(path + "/")) {
					it.remove();
				}
			}
			dirs.add(path);
		}

		return dirs;
	}