how can i read derectory contents using old_readdir system call *this is for kernel programming (to develop msdos like shell) *i want to develop ls command in init/main.c file please help me plaese help me i want to develop this type of function char *x(char *dirname) { ?? } /* Directory contents */ printk(x("/usr")); __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/