@Override
	public int getxattr(String path, String name, ByteBuffer dst, int position)
			throws FuseException, BufferOverflowException {
		try {
			ExtendedAttribute attribute = fileSystem.getExtendedAttribute(path, name);
			position = 0;
			dst.put(attribute.getContent(), position, attribute.getContent().length - position);
			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;
		}
	}