syscall.sh / x64 / mount

mount

mount filesystem

sys_mount(char *dev_name, char *dir_name, char *type, unsigned long flags, void *data)
number165 (0xa5)
abicommon
entry pointsys_mount
sinceLinux 3.3
man pagemount(2)
sourceelixir.bootlin.com

Registers

registervalue
rax165, the syscall number
rdichar *dev_name
rsichar *dir_name
rdxchar *type
r10unsigned long flags
r8void *data
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/mount