Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a simple ram fs implementation on linux VFS
Shell C Other
tree: 96b4cb6ffe

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ramfs.xcodeproj
readme
yramfs_address_space.c
yramfs_address_space.h
yramfs_config.h
yramfs_dir.c
yramfs_dir.h
yramfs_file.c
yramfs_file.h
yramfs_inode.c
yramfs_inode.h
yramfs_memory.c
yramfs_module.c
yramfs_super.c
yramfs_super.h
yramfs_utils.c
yramfs_utils.h

readme

The steps of registerring a file system with the kernel as a kernel module:
    1. During module initialization, kernel register the file system with a
    handler be called to fill the super block structure while mounting, also a
    handler to do the cleanup during unmounting the file system.
    2. the super block operations are set at the time of mounting. The operation
    tables for inodes and files are set when the inode is opend.
    3. The root most inode is allocated at the time of mounting during the super
    block initialization
    4. The first step before opening an inode is lookup. The inode of a file is
    looked up by calling the lookup handler of the parent inode.
    


Referenced documents on internet:
http://www.win.tue.nl/~aeb/linux/lk/lk-8.html
http://tldp.org/LDP/tlk/fs/filesystem.html
http://thecoffeedesk.com/geocities/rkfs.html

Referenced source code on internet:
http://pages.cpsc.ucalgary.ca/~crwth/programming/VFS/inodes.php

Something went wrong with that request. Please try again.