Hi Yiwei,

        There is an entry "struct fs_struct *fs" in the task_struct
structure. fs_struct contains "struct dentry * root, * pwd;". For more
info look in /usr/inlcude/linux/sched.h file

Regards
Santhosh

> there are the following attributes in usr structure of UNIX:
> 
> struct     user{
> ..
> 
> struct inode        *u_cdir;    /*  inode pointer to current dir */
> struct inode        *u_rdir;    /*   inode pointer to root dir */
> ...
> };
> 
> but where are they in Linux ?

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to