Hi Paul,

We saw that the free space on the disk partition is 139Mb and the
uncompressed file size was 81Mb, we used below command to get these
numbers.

Disk partition free space - > df -kh /partition_name
Uncompressed file size - > gunzip -l tarname.tar.gz

We are not able to understand even though we have 139Mb free space on
the partition where the tarname.tar.gz is kept why the gunzip is
reporting out of space error because it requires just 81Mb to write the
tarname.tar file into the partition right?

Thanks,
Prabha

-----Original Message-----
From: Paul Eggert [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2008 4:38 AM
To: Biradar, Prabhulingamma (Prabha)
Cc: bug-gzip@gnu.org
Subject: Re: problem with gunzip <No space left on device>

"Biradar, Prabhulingamma (Prabha)" <[EMAIL PROTECTED]>
writes:

> write(4, " 4 4 _ 2   S e n d e r  ".., 24576)   Err#28 ENOSPC

This indicates that gzip ran out of disk space, and a write() system
call failed.  gzip does not check for disk space in advance; it merely
checks as it writes.  So I don't see any incorrect behavior here.


Reply via email to