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

# vfs_name

Copy filesystem name into a buffer.

## Declaration

```occ
void vfs_name(mount_t mp, char *buffer);
```

## Parameters

- `mp`: Mount for which to get name.
- `buffer`: Destination for name; length should be at least MFSNAMELEN.

## Return Value

Return Value void.

## Discussion

Discussion Get filesystem name; this refers to the filesystem type of which a mount is an instantiation, rather than a name specific to the mountpoint.
