Next | Internals of ext2fs | 22 |
Since two directories can list the same i-number, a file can have two names
Or maybe a file's i-number is not listed anywhere
Then the file is lost!
fsck detects this and makes a new link under /lost+found
To rename a file in the same directory, just change the name in the link
No copying is necessary
To move a file to a different directory, link it in the new place and unlink the old name
No copying is necessary
Next | Copyright © 2001 M. J. Dominus |