---
title: vfs_typenum
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: kernel/1523418-vfs_typenum
---

# vfs_typenum

Get (archaic) filesystem type number.

## Declaration

```occ
int vfs_typenum(mount_t mp);
```

## Parameters

- `mp`: Mount for which to get type number.

## Return Value

Return Value Type number.

## Discussion

Discussion Filesystem type numbers are an old construct; most filesystems just get a number assigned based on the order in which they are registered with the system.
