Thanks and Regards,
Prasad.
On 3/12/07, Avishay Traeger <
atraeger@xxxxxxxxxxxxx> wrote:
On Mon, 2007-03-12 at 17:48 +0530, Prasad Joshi wrote:
>
>
> On 3/12/07, Avishay Traeger <atraeger@xxxxxxxxxxxxx> wrote:
> On Mon, 2007-03-12 at 15:34 +0530, Prasad Joshi wrote:
> > Hi All,
> >
> > I was trying to write a sample file system for learning
> purpose. After
> > mounting the file system and creating a file, say test, I am
> not able
> > to see the file in the directory list.
>
> <snip>
>
> I didn't read your create code, because I first wanted to ask
> if you had
> already implemented the lookup/readdir code? You might be
> creating the
> file but have no way to show it.
>
> Thanks for your reply.
> I am using, generic simple_lookup() as my lookup procedure.
>
>
> Thanks and Regards,
> Prasad.
> Avishay
You will probably also need to implement the readdir function. This is
a pretty good beginner's guide for writing file systems:
http://www.geocities.com/ravikiran_uvs/articles/rkfs.html
Avishay