Re: detect disk full when write to handle

2010-03-21 Thread C.DeRykus
On Mar 20, 1:45 pm, jwkr...@shaw.ca ("John W. Krahn") wrote: > C.DeRykus wrote: > > On Mar 19, 8:31 pm, godsarm...@gmail.com (Walt Chen) wrote: > > > > See: perldoc -q buffer > > > This will explain why 'syswrite' will report error, say a > > full disk partition, when print may not due to buffe

Re: detect disk full when write to handle

2010-03-20 Thread Walt Chen
Hi Charles John Thank you for the help. Your explanations are straightforward. > C.DeRykus wrote: >> >> On Mar 19, 8:31 pm, godsarm...@gmail.com (Walt Chen) wrote: >>> >>> I have a public disk partition shared by different users. Everyone on >>> the host writes different temporary file from time

Re: detect disk full when write to handle

2010-03-20 Thread John W. Krahn
C.DeRykus wrote: On Mar 19, 8:31 pm, godsarm...@gmail.com (Walt Chen) wrote: I have a public disk partition shared by different users. Everyone on the host writes different temporary file from time to time. So the partition runs out of available disk space sometimes. I have a perl script to wr

Re: detect disk full when write to handle

2010-03-20 Thread C.DeRykus
On Mar 19, 8:31 pm, godsarm...@gmail.com (Walt Chen) wrote: > Hi > > I have a public disk partition shared by different users. Everyone on > the host writes different temporary file from time to time. So the > partition runs out of available disk space sometimes. > > I have a perl script to write s

detect disk full when write to handle

2010-03-19 Thread Walt Chen
Hi I have a public disk partition shared by different users. Everyone on the host writes different temporary file from time to time. So the partition runs out of available disk space sometimes. I have a perl script to write some data to a file in this partition everyday. In several cases, the dat