Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: peter@nmti.com (Peter da Silva)
Subject: Re: Sparse files take up more space when copied
Date: Tue, 15 Nov 1994 16:30:13 GMT	[thread overview]
Message-ID: <id.RCRE1.EQ8@nmti.com> (raw)
In-Reply-To: id.5CRE1.UA8@nmti.com

Oops, let's change that a little:

	set end of file = beginning of file
> 	while there's another block
	do
> 		if block is empty
			increment end of file by blocksize
> 		else
			if not at end of file
				seek to end of file
			fi
> 			write block
			increment end of file by blocksize
		fi
	od
-- 
Peter da Silva                                            `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                       "Hast Du heute schon Deinen Wolf umarmt?"


  reply	other threads:[~1994-11-15 16:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-15 15:11 Sparse files take up more space when copied Peter Lister
1994-11-15 16:08 ` Peter da Silva
1994-11-15 16:30   ` Peter da Silva [this message]
1994-11-16  0:56     ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1994-11-16  0:08   ` John Hascall
1994-11-17 20:35     ` Peter da Silva
1994-11-15 19:52 ` Torbj|rn Lindgren
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox