note 14641 rejected and deleted from function.fileinode.php by alindeman
| From: | alindeman@php.net | Date: | Tue, 07 Aug 2001 15:46:38 +0000 |
| Subject: | note 14641 rejected and deleted from function.fileinode.php by alindeman | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16441@lists.php.net to get a copy of this message | ||
Partly correct:
The Unix-inode contains modification-time, file-size, type and other info about a file, but not its
directory. A directory under Unix is like any other file, only that instead of text or other data
it contains a list of names and inodes. A file under Unix can therefore be accessed by multiple
names from different directories, but has only one inode. A counter in the inode keeps track of how
many links point to this inode; only when the last link to the inode is removed (unlinked), the file
is deleted too.
Another correction: FileInode() existed in PHP/FI 2 as well, but with a slightly different
behaviour.