@Override
	public int getxattrsize(String path, String name, FuseSizeSetter sizeSetter)
			throws FuseException {
		try {
			ExtendedAttribute attribute = fileSystem.getExtendedAttribute(path, name);
			sizeSetter.setSize(attribute.getContent().length);
			return 0;
		} catch (PathNotFoundException e) {
			return Errno.ENOENT;
		} catch (AccessDeniedException e) {
			return Errno.EACCES;
		} catch (UnsupportedFeatureException e) {
			//Sadly, we are not supposed to return "Not supported"
			if (Environment.isMac())
				return Errno.ENOTSUPP;
			return 0;
		} catch (AttributeNotFoundException e) {
			if (Environment.isMac() && MacOSXHack.isHackAttributeName(name))
				return 0;
			return Errno.ENOATTR;
		}
	}