a super block is related to one file system. linux supports many. "x" super-blocks can be used to support that "x" fs types. the info about the fs can be extracted using the union. PS : union is being used to save space (also because we need info abt 1 fs ) ;) --- VS <dojik@yahoo.com> wrote: > Hi, > > In the struct super_block in linux/fs.h > there is a union which has the union u which points > to > the super_block_info of different file systems. > Could > someone tell me what this super_block_info is and > what > it is used for. Is there any particular format for > the > structure. Is there any documentation on this on the > web. Also I think to add a filesystem I have to use > the generic_spb pointer in this union. Any pointers > are appreciated. > > Thanks, > VS > > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com > -- > Kernelnewbies: Help each other learn about the Linux > kernel. > Archive: > http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/