Skip to content

Files

Latest commit

7715d35 · Oct 28, 2024

History

History
27 lines (14 loc) · 596 Bytes

mount.md

File metadata and controls

27 lines (14 loc) · 596 Bytes

Syscall mount

User Mode

#include <sys/mount.h>
int mount(const char *source, const char *target, const char *filesystemtype, unsigned long mountflags, const void *data);

Mounts a file system. mountflags and data are currently ignored (present for compatibility).

User Apps

The app mount exposes this syscall.

Kernel Mode

Implemented in sys_system.c as sys_mount().

See also

Overview: syscalls

System: mount | umount | uptime