22 Jul
2008
22 Jul
'08
11:02 p.m.
------------ Původní zpráva ------------ Od: Fegan, Joe <Joe.Fegan@hp.com> Předmět: Re: [syslog-ng] Using regexp in match() Datum: 22.7.2008 16:23:01 ----------------------------------------
If an application (e.g. syslog-ng) has the file open for read or write, then the file handle in that app is another reference to the file. So the file still exists after rm (because there are still references to it) even though it is no longer listed in any directory. The destructor will be called when the last reference (the file handle) is released.
Joe.
Well, now I understand lot of things better. Thanks for your clear explanation Joe. Jan