Free Disk Necessary To Retructure A File
Jay R. Ashworth
jra at baylink.com
Mon Jul 28 13:07:57 PDT 2008
On Mon, Jul 28, 2008 at 10:25:14AM -0400, Kenneth Brody wrote:
> Quoting Scott Walker (Sat, 26 Jul 2008 18:38:05 -0400):
> > John,
> >
> > So are you saying that if I had 10 million bytes free on my disk drive,
> > I could add a field to a file with 400mb as long as the resulting file
> > was not more than 10mb larger.
> >
> > In other words, I don't need free disk space to be anywhere near the
> > size of the file I am restructuring.
> [...]
>
> Correct. If you are growing the file, it is done in place, so you only
> need enough room for the difference in size. On the other hand, if you
> are shrinking the file, you need enough free space for the resulting
> file.
>
> So, going from 400MB to 410MB needs 10MB free space, but going from 400MB
> to 390MB needs 390MB. (This is why you are given the option of not doing
> the actual shrink.) This is because not all systems on which filePro runs
> have the ability to truncate a file.
So, is there a switch to force it to make a new file anyway, for safety
purposes?
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Josef Stalin)
More information about the Filepro-list
mailing list