Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a "mountable" File System, where to start?

Tags:

c++

c

filesystems

A friend and I are thinking about creating a simple file system for learning purposes. We're going to write it in C/C++, and try to get it to a mountable state from within linux. We've both been coding or over 16 years (32 combined), so I suppose its just a matter of finding some documentation, and a ton of learning.

My question is, where could I find out more information? (Documentation for creating a file system, requirements of mounting a file system in linux, etc)

Where do we start?

Edit: I should also mention, this would not be a boot-able file system, just a file system used for storage, though I am not too sure if that matters or not.

like image 508
MichaelICE Avatar asked May 28 '10 00:05

MichaelICE


People also ask

How can a file system be mounted?

Mounting a file system creates a binding for the duration of the mount. The binding is between a directory that is already in the file system hierarchy, called the mount point , and the entry point into the file system about to be mounted, called the root of this file system.

Which command is used to mount file systems?

mount command is used to mount the filesystem found on a device to big tree structure(Linux filesystem) rooted at '/'. Conversely, another command umount can be used to detach these devices from the Tree. These commands tells the Kernel to attach the filesystem found at device to the dir.

What does no mountable file systems mean on Mac?

In most time, the no mountable file system mac error occurs because of the corrupted DMG file that is caused by wrong operations during the download process. If so, you can download the file again with all the download assistant plug-ins off.


1 Answers

I don't have much experience with this, but FUSE ("Filesystem in Userspace") seems to be the way to go - see http://fuse.sourceforge.net, http://en.wikipedia.org/wiki/Filesystem_in_Userspace

like image 63
ggambett Avatar answered Sep 22 '22 10:09

ggambett