|
最初由 sqysl 发布
[B]
我觉得和LINUX的文件系统管理有关系,按说,文件处于打开状态,并且被一个程序(ORACLE)操作着,是不允许删除的,在早就知道LINUX文件系统有很多特别之处,但不知道这一点,当时和WINDOWS和SOLARIS进行过对比,觉得LINUX比二者的写速度要快很多.似乎是EXT3?EXT2?,存在很多先进的功能.谁知道,大家一起讨论. [/B]
UNIX and Linux both allow you to delete a file, or more technically, remove the file entry in the *directory file*, while the disk space occupied by the file is still held open by the process that opened the file earlier (unless the process closes the file descriptor). Even though the directory file has one less entry now, the process can still access the content of the "file" (if you still call it file) because it only needs to go by the file descriptor, without going through the work of parsing the file path name, which if done would definitely fail.
Yong Huang |
|