[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <756126.76299.qm@web94603.mail.in2.yahoo.com>
Date: Tue, 16 Sep 2008 09:47:27 +0530 (IST)
From: ashish mahamuni <ashitpro@...oo.co.in>
To: Kernelnewbies <kernelnewbies@...linux.org>,
Rohit Sharma <imreckless@...il.com>
Cc: ext4 <linux-ext4@...r.kernel.org>
Subject: Re: reading superblock
Hello Rohit,
I hope you are doing this for getting hand on ext2/ext3 file systems.
So what I'll suggest is try to read the on disk data structures and read the Super Block. That will really help you to understand some part of file systems instead relying on some existing functions.
I've posted one article regarding reading super block you can look at that...
http://bytes.com/forum/thread771405.html
Regards,
Ashish
--- On Mon, 15/9/08, Rohit Sharma <imreckless@...il.com> wrote:
> From: Rohit Sharma <imreckless@...il.com>
> Subject: reading superblock
> To: "Kernelnewbies" <kernelnewbies@...linux.org>
> Cc: "ext4" <linux-ext4@...r.kernel.org>
> Date: Monday, 15 September, 2008, 10:11 PM
> I want to read ext2 superblock and display the structure.
>
> which function do i need to call for that.
> is it ext2_get_sb() or ext2_fill_super() or both ??
>
> this is the function prototype:
> static int ext2_fill_super(struct super_block *sb, void
> *data, int silent)
>
> what are the parameters data and silent used for.
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to
> ecartis@...linux.org
> Please read the FAQ at http://kernelnewbies.org/FAQ
Get an email ID as yourname@...il.com or yourname@...ketmail.com. Click here http://in.promos.yahoo.com/address
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists