Here is a patch that offers Linux-like (lsextattr) and FreeBSD-like (extattr_list_file) extended attribute listings without conversion. The proper format is produced by the filesystem itself. That require adding a flag argument to VOP_LISTEXTATTR.
http://ftp.espci.fr/shadow/manu/lsxattr_vnode.patch Please review -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org