Contents

vnode_tag

Get the vnode filesystem-specific "tag."

Declaration

int vnode_tag(vnode_t vp);

Parameters

  • vp:

    The vnode whose tag to grab.

Return Value

The tag.

Discussion

Gets the tag indicating which filesystem a vnode belongs to, e.g. VT_HFS, VT_UDF, VT_ZFS. The kernel never inspects this data, though the filesystem tags are defined in vnode.h; it is for the benefit of user programs via getattrlist.

See Also

vnode