帮助记住基于Linux“strace”的文件路径模拟工具的名称


0

一旦上网,我就看到了Linux工具的主页,声称它可以使用Linux systrace接口来执行带有操纵路径的其他程序。像这样的东西:

$ this-strace-tool --map /home/user1:/home/user2 -- ls /home/user1
  # Outputs content for user2

要么

$ this-strace-tool --map /:/tmp/prefix -- make install
  # Transparently installs into temporary prefix

我既没有回忆确切的工具名称也没有选项语法,也没有为Google查询找到合适的措辞。可能有人在这里可以提醒我吗?


你的意思是这里描述的Node mock-fs模块吗?
JakeGould 2015年

1
@JakeGould:不,我很确定这是一个独立的程序。但您的链接似乎也很有帮助。
firegurafiku 2015年

superuser.com/questions/143669 / ...看起来很有希望,但没有任何答案完全符合您的要求。
triee
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.