mount system call

时间秒杀一切 提交于 2019-12-11 08:07:28

问题


I am stuck at finding the correct usage of mount() system call which should be the replacment for the command

$mount -t ext3 -oloop /test /mount

Please help.

Thanks


回答1:


try:

$ strace mount -t ext3 -oloop /test /mount

And you will see that there are 2 number of system calls involved - one for setting the loopback block device and another to do the actual mount



来源:https://stackoverflow.com/questions/5095976/mount-system-call

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!