hi everyone, As pointed out by Manoj for my previous question i was able to figure out what i was looking for from the debugfs program. I did'nt note the option previously.. sorry .. I want to implement the same functionality (i.e., given a file name extracting all the information from it's inode) as a module. I read the Module programming guide from LDP and a little bit of LDD as i am not going to write a devise driver. I am ready to get started but have a few basic questions (as this is the first time writing modules !!) assumption: * I need to get the input from the user (filename), so i am planning to use the /proc file system to put in my module so that I can read input from the user Questions: * Where do i put in my code to access the inode structure and stuff ?? inside module_output() funtion ?? or some other function .. * Can i use printk() to prompt the user to enter the file name before reading the input using get_user() funtion ?? I think that's it for now .. i will be there with more questions as I start implementing .. I apologize if I am posting very basic questions !! Also r there other guides to module programming apart from LKMPG and LDD ?? if so names or urls plz .. Thanks Karthik __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/