Question about VFS

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

 



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@xxxxxxxxxxxx>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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