From: Tobias Reif Date: 2002-06-03T05:48:37+09:00 Subject: Re: Finding all applications Rick Bradley wrote: > A related problem is that an inode may have a number of (even zero) > filesystem entries (filenames), zero results in deletion: http://cm.bell-labs.com/7thEdMan/v7vol2a.pdf "When a new file is created, an i-node is allocated for it and a directory entry is made that contains the name of the file and the i-node number. Making a link to an existing file involves creating a directory entry with the new name, copying the i-number from the original file entry, and incrementing the link-count field of the i-node. Removing (deleting) a file is done by decrementing the link-count of the i-node specified by its directory entry and erasing the directory entry. If the link-count drops to 0, any disk blocks in the file are freed and the i-node is de-allocated." > and this information is not stored in > the inode entry. It isn't? "[...] (the file's i-node ) contains the description of the file: [...] vi the number of links to the file, that is, the number of times it appears in a directory" Tobi -- http://www.pinkjuice.com/