---
name: "debugfs_create_automount"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/debugfs_create_automount"
---

# debugfs\_create\_automount(9)

create automount point in the debugfs filesystem

## NAME

debugfs\_create\_automount - create automount point in the debugfs filesystem

## SYNOPSIS

**struct dentry \* debugfs\_create\_automount(const char \*** *name***, struct dentry \*** *parent***, debugfs\_automount\_t** *f***, void \*** *data***);**

## ARGUMENTS

*name*

a pointer to a string containing the name of the file to create.

*parent*

a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.

*f*

function to be called when pathname resolution steps on that one.

*data*

opaque argument to pass to **f**.

## DESCRIPTION

*f* should return what -\>**d\_automount** would.

## COPYRIGHT
