GithubHelp home page GithubHelp logo

please, provide complete example about fuse HOT 2 CLOSED

bazil avatar bazil commented on August 17, 2024
please, provide complete example

from fuse.

Comments (2)

tv42 avatar tv42 commented on August 17, 2024

"Complete" is a very high demand for something as complex as a file system.

Every FUSE file system demonstrates directories, as the root of a file system is a directory.

Attributes are just a Getattr / Setattr call. The former is usually unnecessary as Attr is close enough, the only thing GetattrResponse adds is control over cache lifetime.

http://godoc.org/bazil.org/fuse/fs#Node
http://godoc.org/bazil.org/fuse/fs#NodeGetattrer
http://godoc.org/bazil.org/fuse#GetattrResponse

http://godoc.org/bazil.org/fuse/fs#NodeSetattrer
http://godoc.org/bazil.org/fuse#SetattrRequest

https://github.com/bazillion/fuse/blob/master/hellofs/hello.go is a simple fs with a hello world file.

Source of https://github.com/bazillion/bolt-mount should be easy to follow. Naturally, as it exposes a key-value store, it does not handle renames etc.

bazil.org/bazil itself is a full, complex, file system, with no compromises toward being a simple example.

All the publicly-available file systems are listed at http://godoc.org/bazil.org/fuse?importers

Not sure what more can be done here easily, apart from writing a booklet on FUSE development as a whole. If you can come up with specific things, do keep adding them.

from fuse.

vtolstov avatar vtolstov commented on August 17, 2024

Thanks, i'm already write my own fs with all needed parts, i'm forget to
close issue.
As you say code easy to follow and write own code.

2014-06-09 2:25 GMT+04:00 Tv [email protected]:

"Complete" is a very high demand for something as complex as a file system.

Every FUSE file system demonstrates directories, as the root of a file
system is a directory.

Attributes are just a Getattr / Setattr call. The former is usually
unnecessary as Attr is close enough, the only thing GetattrResponse adds is
control over cache lifetime.

http://godoc.org/bazil.org/fuse/fs#Node
http://godoc.org/bazil.org/fuse/fs#NodeGetattrer
http://godoc.org/bazil.org/fuse#GetattrResponse

http://godoc.org/bazil.org/fuse/fs#NodeSetattrer
http://godoc.org/bazil.org/fuse#SetattrRequest

https://github.com/bazillion/fuse/blob/master/hellofs/hello.go is a
simple fs with a hello world file.

Source of https://github.com/bazillion/bolt-mount should be easy to
follow. Naturally, as it exposes a key-value store, it does not handle
renames etc.

bazil.org/bazil itself is a full, complex, file system, with no
compromises toward being a simple example.

All the publicly-available file systems are listed at
http://godoc.org/bazil.org/fuse?importers

Not sure what more can be done here easily, apart from writing a booklet
on FUSE development as a whole. If you can come up with specific things, do
keep adding them.


Reply to this email directly or view it on GitHub
#4 (comment).

Vasiliy Tolstov,
e-mail: [email protected]
jabber: [email protected]

from fuse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.