<<< UNIX File Access | Index | UNIX File Access, cont. >>> |
Consider UNIX file path
/etc/passwd
It is interpreted by the system as follows:
/etc/passwd -> root directory becomes surrent inode
/etc/passwd -> directory entry "etc" is retrieved
"etc" entry found -> the "etc" inode becomes current
/etc/passwd -> directory entry "passwd" is retrieved
"passwd" entry found -> the "passwd" inode becomes current
This last inode indicates that "passwd" is a file.
<<< UNIX File Access | Index | UNIX File Access, cont. >>> |