2017年4月23日

摘要: 代码: int fd = open("/dev/fuse", O_RDWR); printf("fd=%d\n",fd); int res; res=mount ("bvbsdf", "/home/leveldb/fuse/ssfs/dir1", "fuse.ccc", 6, "fd=3,rootm 阅读全文
posted @ 2017-04-23 22:27 longbigfish 阅读(198) 评论(0) 推荐(0)
摘要: 这次查看fuse_mount_sys函数的执行过程,理解mount的各个阶段。 这个函数能够执行的前提是命令行使用root账户。 1. 首先,该函数仍然是主要使用 mount(const char *source, const char *target, const char *filesystem 阅读全文
posted @ 2017-04-23 22:22 longbigfish 阅读(1331) 评论(0) 推荐(0)

导航