@Override
	public int link(String from, String to) throws FuseException {
		try {
			if (fileSystem.isReadOnly())
				return Errno.EROFS;

			if (!from.startsWith("/"))
				from = "/" + from;
			if (!to.startsWith("/"))
				to = "/" + to;
			fileSystem.createHardLink(to, from);
		} catch (PathNotFoundException e) {
			return Errno.ENOENT;
		} catch (SourceAlreadyExistsException e) {
			return Errno.EEXIST;
		} catch (AccessDeniedException e) {
			return Errno.EACCES;
		} catch (UnsupportedFeatureException e) {
			return Errno.ENOSYS;
		}
		return 0;
	}