open, readdir in ramfs

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

 



hi,
 
i am developing a "fan-out stackable file system". for that i referred to fs like wrapfs (using fistgen 0.1.2). i want to know what exact calls are invoked when "ls" command is executed at the terminal. using "printk" debugging method i figured out that
 
open
readdir
  ...filldir
from file_operations
 
i used ramfs code, i then defined open and readdir functions and added printk, i compliled it as a module,inserted to kernel and mounted it.
 
 and when i invoked "ls" at mount point,  its not invoking open, readdir
can anyone please help me .
 
i'll be thankful to recieve any book or link reference related to this topic

[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