Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aveek-saha/fuse-filesystem
A basic file system in user space written in C using FUSE
https://github.com/aveek-saha/fuse-filesystem
file-system filesystem fuse fuse-filesystem fuse-kernel kernel libfuse linux-filesystem userspace
Last synced: about 2 months ago
JSON representation
A basic file system in user space written in C using FUSE
- Host: GitHub
- URL: https://github.com/aveek-saha/fuse-filesystem
- Owner: Aveek-Saha
- License: mit
- Created: 2018-11-23T13:41:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-27T03:54:35.000Z (over 1 year ago)
- Last Synced: 2024-04-13T18:04:02.461Z (9 months ago)
- Topics: file-system, filesystem, fuse, fuse-filesystem, fuse-kernel, kernel, libfuse, linux-filesystem, userspace
- Language: C
- Homepage:
- Size: 13.7 KB
- Stars: 22
- Watchers: 3
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FUSE Filesystem
A basic file system written in C using FUSE# About fuse
From the [official repository](https://github.com/libfuse/libfuse)
> 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](https://github.com/arvindsrinivasan) |
| Aprameya Bharadwaj | [aprameyabharadwaj](https://github.com/aprameyabharadwaj) |
| Anish Kasi | [anishkasi](https://github.com/anishkasi) |
| Aveek Saha | [aveek-saha](https://github.com/aveek-saha) |