Oops... I had missed the setting of fs to the oldfs... Thanks. On Dec 7, 2007 1:29 PM, Vivek Kutal <vivekutal@xxxxxxxxx> wrote: > Sandeep K Sinha wrote: > > It returns with ENOENT after using set_fs. > > > > > same code works for me. > take a look at this http://www.linuxjournal.com/article/8110 > there is a example given at the end. > HTH > > > -- > Vivek Kutal > > > > -- Regards, Sandeep. "To learn is to change. Education is a process that changes the learner." -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ