CS HOME   CS 518   PROFESSOR ROSS
LINUX VIRTUAL FILE SYSTEM
CS 518 PROJECT WEB SITE
STUDENTS:
- Leif Wickland  leifw@cs.montana.edu
- Robert Ledford  ledford@cs.montana.edu
LINKS:
Project Home


Presentation (.ppt)

Presentation (.html)

Resources

Notes

IFE Diagram

Boot Process


Some stuff to try

Implementing a Linux Filesystem as a Kernel Module
- This site has a nice tutorial about developing and implementing a file system as a module
http://maria.utcluj.ro/~rbb/files/my_work/os/sfsimpl.html

Hello, World File System (hwfs)
- Interesting course assignment building a small file system implementation
http://www.cc.gatech.edu/classes/AY2004/cs3210_spring/Program6.htm

Simple C file to demonstrate writting a module and using module_init and module_exit

/*
* hello-2.c - Demonstrating the module_init() and module_exit() macros.
* This is preferred over using init_module() and cleanup_module().
*/
#include /* Needed by all modules */
#include /* Needed for KERN_ALERT */
#include /* Needed for the macros */

static int __init hello_2_init(void)
{
printk(KERN_ALERT "Hello, world 2\n");
return 0;
}

static void __exit hello_2_exit(void)
{
printk(KERN_ALERT "Goodbye, world 2\n");
}
module_init(hello_2_init);
module_exit(hello_2_exit);

Links for more information
http://www.tldp.org/LDP/lkmpg/2.6/html/x236.htm
http://www.cs.bgu.ac.il/~tzachar/mpg/x293.html




Montana State University - Department of Computer Science