delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/03/05:34:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Erik Bak-Mikkelsen <ebm AT oss DOT dk>
Message-Id: <200108031123.LAA16259@mdve.oss.dk>
Subject: logrotate, NT, open files
To: cygwin AT cygwin DOT com
Date: Fri, 3 Aug 101 11:23:30 +0000 (GMT)
X-Mailer: ELM [version 2.4 PL25]

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019