Re: Writing inode_operations->create() function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux