---
title: vfs_root
framework: Kernel
role: symbol
role_heading: Instance Property
platforms: [macOS 10.6+]
path: kernel/vfsops/1523213-vfs_root
---

# vfs_root

## Declaration

```occ
int (*vfs_root)(struct mount *mp, struct vnode **vpp, vfs_context_t context);
```
