mount

Function mount 

Source
pub fn mount(
    source: *const c_char,
    target: *const c_char,
    filesystemtype: *const c_char,
    _mountflags: u64,
    _data: *const c_void,
) -> isize
Expand description

mount - 挂载文件系统

§系统调用号

40 (SYS_MOUNT)

§简化实现说明

  • 只支持 ext4 文件系统(忽略 filesystemtype 参数)
  • 使用第一个可用的块设备(忽略 source 参数)
  • 忽略所有 mountflags(但保留以保持 ABI 兼容)
  • 忽略 data 参数