Function

vnode_vfstypenum

Get the "type number" of the filesystem to which a vnode belongs.

Declaration

int vnode_vfstypenum(vnode_t vp);

Parameters

vp

The vnode whose filesystem to examine.

Return Value

The type number of the fileystem to which the vnode belongs.

Discussion

This is an archaic construct; most filesystems are assigned a type number based on the order in which they are registered with the system.