pub fn sys_fs_mount(trapframe: &mut Trapframe) -> usizeExpand description
Mount a filesystem (FsMount)
This system call mounts a filesystem at the specified target path.
§Arguments
trapframe.get_arg(0)- Pointer to source path (device/filesystem)trapframe.get_arg(1)- Pointer to target mount point pathtrapframe.get_arg(2)- Pointer to filesystem type stringtrapframe.get_arg(3)- Mount flagstrapframe.get_arg(4)- Pointer to mount data/options
§Returns
0on successusize::MAXon error (invalid path, filesystem not supported, etc.)