Question about VFS

Adam Fowler ajf2177 at columbia.edu
Tue Apr 29 23:44:51 EDT 2014


I've been trying to implement a file system using vfs and I've got mkdir
and touch working but I can't seem to get echo blah > new file to create a
new file with content blah. I tried to use printk to see what gets called
during the creation process but it doesn't seem that write is getting
called for my file, just open. When I ran strace I see a write call but it
is to stdout and not to my file. Any tips on how to go about implementing
the behavior I'm after?  I've been following the following tutorial with
the changes necessary to work on kernel 3.10.34
http://lwn.net/Articles/57369/ . Any help is appreciated, thanks!

-- 

Adam Fowler<ajf2177 at columbia.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140429/40d7c6fb/attachment.html 


More information about the Kernelnewbies mailing list