diff options
Diffstat (limited to 'src/os/freebsd-os_mount_devtmpfs.c')
-rw-r--r-- | src/os/freebsd-os_mount_devtmpfs.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/os/freebsd-os_mount_devtmpfs.c b/src/os/freebsd-os_mount_devtmpfs.c new file mode 100644 index 0000000..033a4c4 --- /dev/null +++ b/src/os/freebsd-os_mount_devtmpfs.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +#include <sys/param.h> +#include <sys/mount.h> + +#include "os.h" + +int os_mount_devtmpfs (char const *point) +{ + return mount("devfs", point, "devfs", MNT_NOEXEC | MNT_NOSUID, "") ; +} |