Note: when
.Fn getattrlistbulk
returns information about a symbolic link, the information returned is about the link itself, not the target of the link.
+The order of the directory entries (and their associated metadata) vended by
+.Fn getattrlistbulk
+is not specified. Some file systems may return entries in lexicographic sort order and others may not.
.Pp
The function reads directory entries from the directory referenced by the file
descriptor
.Dv ATTR_CMN_NAME
and
.Dv ATRR_CMN_RETURNED_ATTRS
-are required and the absence of these attributes in the attrList parameter results in an error.
+are required and the absence of these attributes in the attrList parameter results in an error. Note that
+not all attributes supported by
+.Fn getattrlist
+may be vended back by this call, which is why the aforementioned flag must be supplied. In particular
+.Dv ATTR_CMN_FULLPATH
+may not be valid on all directory entries whose information is requested by this call.
.Pp
.
.\" attrBuf and attrBufSize parameters
attributes and then use the value of the
.Dv ATTR_CMN_OBJTYPE
attribute to parse the resulting attribute buffer.
+.Pp
+A directory which is a mount point for a file system, will have a value of "DIR_MNTSTATUS_MNTPOINT" set for it's the
+ATTR_DIR_MOUNTSTATUS attribute entry. However the attributes for the mount point will be those from the (underlying) file system. The only way to get the attributes of mounted root directory is to call getattrlist(2) on the mount point.
.
.Sh RETURN VALUES
Upon successful completion the numbers of entries successfully read