logrotate, NT, open files

Erik Bak-Mikkelsen ebm@oss.dk
Fri Aug 3 02:26:00 GMT 2001


Hi cygwinners,
I like the logrotate program on linux and UNIX very much. Is it available with
cygwin?
How will it behave with the regular NT problem of logfiles being
open by other prcesses? Eg. doing in a DOS shell
echo >afile.log
The process cannot access the file because
it is being used by another process. 

Simple tests I have carried out in the bash like 
>afile.log
The bash seems not to have the same problem as the DOS shell. The logfile is 
emptied OK. Why is this behaviour different?
Regards Erik Bak-Mikkelsen

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list