note 14641 added to function.fileinode.php
| From: | php-general at lists dot php dot net | Date: | Tue, 07 Aug 2001 15:43:18 +0000 |
| Subject: | note 14641 added to function.fileinode.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16440@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.
http://www.php.net/manual/en/function.fileinode.php