GETFSTYPENAME(3) Library Functions Manual GETFSTYPENAME(3)

getfstypename
convert a partition file system type integer to a wedge partition type name

System Utilities Library (libutil, -lutil)

#include <util.h>

const char *
getfstypename(int fstype);

getfstypename() returns the disk wedge partitition type name corresponding to the fstype argument as specified in <sys/disk.h> or DKW_PTYPE_UNKNOWN if none is found.

The getfstypename() function call appeared in NetBSD 6.0.
November 13, 2011 NetBSD 9.0