赞
踩
在Finder的sidebar中,有DEVICES, SHARED等列表。一般的,如果mount一个本地上的硬盘的分区,该分区会自动的出现在Finder's 的sidebar中。
可如果是自己实现的文件系统,那么新mount的盘有可能不会出现在sidebar中。一个可能的原因是在Mount的时候没有指定MNT_LOCAL标志。该标志告诉操作系统新mount的盘是local的盘,从而Finder就会把该盘放到sidebar中。
该问题有一个workaround,就是把新mount的盘拽到Finder的sidebar中,然后每次mount的时候,该盘都会自动的出现在sidebar中了。具体步骤是
1. 在Finder的preference面版中enable我的mac。
2. 在我的mac里找到新mount的盘。
3. 把盘拽到sidebar中。
这个workaround也可以通过apple script实现。
参考url:
http://groups.google.com/group/macfuse/browse_thread/thread/075261ef25ecf7ae
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。