unlink or kernel error?
Sorry, my problem is probably not Debian specific... I tried to run under
slink with the 2.0.36 kernel the following program:
#define RUN "/tmp/.rem.run"
open(RUN, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR);
After the message "File created" I can see that there is a file .rem.run
in /tmp directory. After "File removed" that file disappears. But
according to unlink man page it should exist up to the message "Finish"
because it is not closed. Only after terminating the program kernel
closes all open files and .rem.run should be removed. Does anybody have
an idea what's going on here? Thanks!