Messages in this thread | | | Date | Tue, 31 Aug 2004 06:22:31 -0700 (PDT) | From | Jeba Anandhan A <> | Subject | Superblock Creation |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |