public FileSystemRef create() {

		FileSystemRef ref = null;
		synchronized (this) {
			if (fs.isClosed()) {
				throw new IllegalArgumentException("File system already closed: " + fs);
			}

			ref = new FileSystemRef(fs);
			refs.add(ref);
			touch();
		}
		listeners.invoke().onFilesystemRefChange(fs, this);

		return ref;
	}
Creates a new {@link FileSystemRef} that points at the owning {@link GFileSystem filesystem}.

@return new {@link FileSystemRef} pointing at the filesystem, never null.
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemRefManager.java