Giter VIP home page Giter VIP logo

fuse-filesystem's Introduction

FUSE Filesystem

A basic file system written in C using FUSE

About fuse

From the official repository

FUSE (Filesystem in Userspace) is an interface for userspace programs to export a filesystem to the Linux kernel. The FUSE project consists of two components: the fuse kernel module and the libfuse userspace library. libfuse provides the reference implementation for communicating with the FUSE kernel module.

Basically Fuse allows us to call our own functions instead of using the default kernel functions when a system call is used. That is incoming requests from the kernel are passed to the main program using callbacks. Where we can define our own functions to handle them.

Installing FUSE

For Ubuntu

$ sudo apt-get install libfuse-dev

Using the Filesystem

Clone this repository

$ git clone https://github.com/Aveek-Saha/FUSE-Filesystem.git FS

cd into the directory and create a mount point

$ cd FS
$ mkdir mountpoint

Complile and run FS.c

$ gcc FS.c -o FS `pkg-config fuse --cflags --libs`
$ ./ FS - f path/ to/ mountpoint

Change your current working directory to mountpoint and use the file system.

Operations

The following operations are implimented -

  • Create and Remove a directory.
  • Create, Read and write to a file.
  • Delete an existing file.
  • Appending to and truncating a file.
  • Access, modified and status change time updates.
  • Open and close a file.

Team

This project was a team effort by

Name GitHub Profile
Arvind Srinivasan arvindsrinivasan
Aprameya Bharadwaj aprameyabharadwaj
Anish Kasi anishkasi
Aveek Saha aveek-saha

fuse-filesystem's People

Contributors

arvindsrinivasan avatar aveek-saha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.