fstyp.c revision 88ecc943b4eb72f7c4fbbd8435997b85ef171fc3
1898N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1898N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1898N/A#include <libfstyp.h>
1898N/Astatic const char *getmodfsname();
1898N/Astatic char *getexecpathname();
1898N/A#if !defined(TEXT_DOMAIN)
1898N/A fstyp_fini(h);
1898N/A fstyp_fini(h);
1898N/A sizeof (fsname_buf));
1898N/Astruct part_find_s {
1898N/A for (i = 0; i < FD_NUMPART; i++) {
1898N/A return (WALK_TERMINATE);
1898N/A return (WALK_CONTINUE);
1898N/A struct part_find_s p = { 0, 0, 0, 0, 0, 0 };
if (num > 0) {
return (B_TRUE);
return (B_FALSE);
char *path;
long name_max;
int error;
if (vflag) {
goto out;
if (error == 0) {
fstyp_fini(h);
exit(0);
out:
if (pid < 0) {
} else if (pid == 0) {
return (status);