checkdisklabel
checkdisklabel(argv[0], &vfstype);
static void checkdisklabel(const char *devpath, const char **vfstypep);