Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/fstyp/fstyp.c
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | static struct { | ||||
bool unmountable; | bool unmountable; | ||||
} fstypes[] = { | } fstypes[] = { | ||||
{ "cd9660", &fstyp_cd9660, false }, | { "cd9660", &fstyp_cd9660, false }, | ||||
{ "ext2fs", &fstyp_ext2fs, false }, | { "ext2fs", &fstyp_ext2fs, false }, | ||||
{ "geli", &fstyp_geli, true }, | { "geli", &fstyp_geli, true }, | ||||
{ "msdosfs", &fstyp_msdosfs, false }, | { "msdosfs", &fstyp_msdosfs, false }, | ||||
{ "ntfs", &fstyp_ntfs, false }, | { "ntfs", &fstyp_ntfs, false }, | ||||
{ "ufs", &fstyp_ufs, false }, | { "ufs", &fstyp_ufs, false }, | ||||
#ifdef HAVE_CDDL | #ifdef HAVE_ZFS | ||||
{ "zfs", &fstyp_zfs, true }, | { "zfs", &fstyp_zfs, true }, | ||||
#endif | #endif | ||||
{ NULL, NULL, NULL } | { NULL, NULL, NULL } | ||||
}; | }; | ||||
void * | void * | ||||
read_buf(FILE *fp, off_t off, size_t len) | read_buf(FILE *fp, off_t off, size_t len) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |