Superblock Creation

From: Jeba Anandhan A
Date: Tue Aug 31 2004 - 08:26:29 EST


how to write a kernel module program to create a
superblock object and manipulate data structures of
superblock of existing superblock.

like
#include<linux/kernel.h>
#include<linux/module.h>
int init_module(void){
struct super_block *my_super;
my->super="/dev/hda1"; // i dont know whether it is
//correct
}
...
how to access the superblock object of /dev/hda1 which
is located in memory and disk.


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/