Check out JFFS, it is a flash based file system. Also when I wrote my first FS I used BFS as a reference for the VFS API since the FS is so simple it is easy to see how it uses the VFS API to get the work down without sifting through tons of code. Tom On Wed, 30 Mar 2005 16:54:33 +0300, Michael Makris <mmak@xxxxxxxxxxxxxxxxxxxx> wrote: > Hi, > > I want to implememt a simple filesystem based on the mechanisms of VFS. > The idea is that I want to access a specific partition of a flash memory > in a mounted directory. For that I am trying to read the existing files > in flash (during initialization) and create the appropriate inode and > dentry objects. However the initialization does not work properly and I > can not read the created files using ls command. > > Given the superblock, how should I initialize an inode object and a > dentry object so that the new file exists and is accessible in VFS? > My implementation is based on the ram fs. > > Thanks > > Mike > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/