The HFuse package

[Tags: bsd3, library]

Bindings for the FUSE library, compatible with Linux, OSXFUSE and FreeBSD.


[Skip to ReadMe]

Properties

Versions0.1, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.4.1, 0.2.4.2, 0.2.4.3, 0.2.4.4, 0.2.4.5
Change logCHANGELOG.md
Dependenciesbase (==4.*), bytestring, HFuse, unix [details]
LicenseBSD3
AuthorJeremy Bobbio
MaintainerMontez Fitzpatrick <montezf@gmail.com>
StabilityExperimental
CategorySystem
Home pagehttps://github.com/m15k/hfuse
Source repositoryhead: git clone git://github.com/m15k/hfuse.git
ExecutablesHelloFS
UploadedTue Apr 7 16:19:30 UTC 2015 by M15K
DistributionsDebian:0.2.4.2
Downloads2187 total (116 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Last success reported on 2015-04-07 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
developerDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for HFuse-0.2.4.5

Haskell FUSE API

Filesystem in Userspace ("FUSE") makes it possible to implement a filesystem as a userspace program.

This library is the Haskell binding to this library.

License

BSD 3-Clause

Information

Installation

All of the usual methods for installation will be supported. For Mac OS X, you must install OSXFuse first.

Installation via Hackage

cabal install hfuse

Installation for development

Can either be handled via Hackage

cabal unpack hfuse
cd HFuse-0.2.4.4
cabal sandbox init
cabal install --only-dependencies
cabal install -fdeveloper

Or the library can be installed via Github repo

git clone git://github.com/m15k/hfuse
cd hfuse
cabal sandbox init
cabal install --only-dependencies
cabal install -fdeveloper

NOTE!

Development

To get a feel for HFuse, there are a number of example applications. They can be built by supplying the -fdeveloper configuration flag to Cabal.

git clone https://github.com/m15k/hfuse

Examples

HelloFS is as basic as you get. Haskell version of the canonical example from the FUSE project. Once compiled here is how you run HelloFS.

$ mkdir ~/fuseTest
$ ./HelloFS ~/fuseTest

This creates a file in the fuseTest directory. Now to test the application.

$ cat ~/fuseTest/hello
Hello World, HFuse!

To unmount issue the following command:

$ fusermount -u ~/fuseTest

Other Samples

There are other projects on hackage which use HFuse as a dependency. Check these out for a possibly richer experience than what is included with the examples folder.

If you lack for inspiration the FUSE Wiki have amassed quite the list of links to downstream projects.

Contributions

Help is always welcome. Pull requests are appreciated.

If you run into any problems or bugs, please report the issue on Github

RoadMap

I would like to create the following examples: