FUSE for macOS

macOS 的 FUSE 扩展,增加了对用户空间文件系统的支持。「FUSE extends macOS by adding support for user space file systems」

Github stars Tracking Chart

FUSE for macOS

FUSE for macOS 允许您通过第三方文件系统来扩展 macOS。

关于 FUSE for macOS

FUSE for macOS 软件包提供了多个 API,用于开发 OS X 10.9到 macOS 10.13 的文件系统。它是 MacFUSE 的后续产品,MacFUSE 是许多产品的基础,但已不再维护。

你可以使用提供的 API 来开发多种类型的文件系统,其内容可以来自本地磁盘、网络、内存或其他任何来源。其中一个 API 是 FUSE API 的超集,它起源于 Linux。

由于 FUSE 文件系统是常规的应用程序(相对于内核扩展),你在编程工具、调试器和库方面的灵活性和选择就像你开发标准 macOS 应用程序一样。

欲了解更多信息,请访问 FUSE for macOS 项目 的网站。

构建说明

构建脚本会自动定位你的应用程序文件夹中所有支持的 Xcode 安装。它构建了一个与当前运行的 macOS 版本兼容的发行包。

注意:

  • Xcode 4.3 和更新的版本不包括 autotools 和 libtool,这些都是构建 libosxfuse 所需要的。安装 MacPorts 或 Homebrew,并在 Terminal 中运行以下命令来安装所需工具。

MacPorts:

sudo port install autoconf automake libtool gettext

Homebrew:

brew install autoconf automake libtool gettext
    brew link --force gettext
  • 由于 gen_bridge_metadata(硬编码的 cpp 路径)中的一个 bug,需要 "命令行工具" 包来为 OSXFUSE.framework 生成 BridgeSupport 元数据。

Xcode 工具包可以从 https://developer.apple.com/downloads/(需要免费的 Apple Developer ID)获得。

要将源码库克隆到当前工作目录下新创建的名为 osxfuse 的子目录中,请在终端运行以下命令。

git clone --recursive -b support/osxfuse-3 git://github.com/osxfuse/osxfuse.git osxfuse

在克隆的版本库中运行以下命令,从源码中构建 FUSE for macOS。

./build.sh -t distribution

最终的发行包可以在 /tmp/osxfuse/distribution 中找到。


Main metrics

Overview
Name With Ownergillesdemey/google-speech-v2
Primary Language
Program languageShell (Language Count: 0)
PlatformMac
License:
所有者活动
Created At2014-02-23 09:47:41
Pushed At2017-04-18 07:53:21
Last Commit At2017-04-18 04:53:20
Release Count0
用户参与
Stargazers Count469
Watchers Count59
Fork Count84
Commits Count4
Has Issues Enabled
Issues Count23
Issue Open Count5
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

FUSE for macOS

FUSE for macOS allows you to extend macOS via third party file systems.

About FUSE for macOS

The FUSE for macOS software package provides multiple APIs for developing file systems for OS X 10.9 to macOS 10.13. It is a successor to MacFUSE, which has been the basis of many products, but is no longer being maintained.

You can use the provided APIs to develop numerous types of file systems, whose content can come from a local disk, from across the network, from memory, or any other source. One of these APIs is a superset of the FUSE API, that originated on Linux.

Due to the fact that FUSE file systems are regular applications (as opposed to kernel extensions), you have just as much flexibility and choice in programming tools, debuggers, and libraries as you have if you were developing standard macOS applications.

For more information visit the website of the FUSE for macOS Project.

Build Instructions

The build script automatically locates all supported installations of Xcode in your Applications folder. It builds a distribution package compatible with the currently running version of macOS.


Note:

  • Xcode 4.3 and newer versions do not include autotools and libtool, that are needed to build libosxfuse. Install MacPorts or Homebrew and run the following commands in Terminal to install the required tools:

MacPorts:

    sudo port install autoconf automake libtool gettext

Homebrew:

    brew install autoconf automake libtool gettext
    brew link --force gettext
  • The "Command Line Tools" package is needed to generate BridgeSupport metadata for OSXFUSE.framework because of a bug in gen_bridge_metadata (hard coded path to cpp).

The Xcode tools packages can be obtained from https://developer.apple.com/downloads/ (free Apple Developer ID required).


To clone the source repository into a newly created subdirectory named osxfuse in the current working directory, run the following command in Terminal:

git clone --recursive -b support/osxfuse-3 git://github.com/osxfuse/osxfuse.git osxfuse

Run the following command in the cloned repository to build FUSE for macOS from source:

./build.sh -t distribution

The resulting distribution package can be found in /tmp/osxfuse/distribution.