Linux MS DOS discussions
 help / color / mirror / Atom feed
* Integer overflow in drive capacity
@ 2007-06-03  2:30 Frank Cox
  2007-06-10  0:52 ` Clarence Dang
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Cox @ 2007-06-03  2:30 UTC (permalink / raw)
  To: linux-msdos

I remember that there used to be a TSR that would hide most of the space on a
large hard drive so programs that checked for free space with a
single-precision variable and the like won't overflow and say that there is
insufficient free space.

I have run various search strings through Google off and on trying to find
this, and had no luck at all to date.

First, does anyone know where to find that TSR?

Second, would the capability to hide free disk space from DOS programs be a
good thing to add to DOSEMU natively, triggered by some sort of optional
directive?

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Integer overflow in drive capacity
  2007-06-03  2:30 Integer overflow in drive capacity Frank Cox
@ 2007-06-10  0:52 ` Clarence Dang
  0 siblings, 0 replies; 2+ messages in thread
From: Clarence Dang @ 2007-06-10  0:52 UTC (permalink / raw)
  To: Frank Cox; +Cc: linux-msdos

On Sunday 03 June 2007 12:30, Frank Cox wrote:
> I remember that there used to be a TSR that would hide most of the space on
> a large hard drive so programs that checked for free space with a
> single-precision variable and the like won't overflow and say that there is
> insufficient free space.

Sorry, I don't know the answer to that one.

> Second, would the capability to hide free disk space from DOS programs be a
> good thing to add to DOSEMU natively, triggered by some sort of optional
> directive?

Probably.

You can also get around the problem by storing your files on a loopback 
filesystem of an appropriate size (see the "losetup" command).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-10  0:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-03  2:30 Integer overflow in drive capacity Frank Cox
2007-06-10  0:52 ` Clarence Dang

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