Linux MS DOS discussions
 help / color / mirror / Atom feed
From: Clarence Dang <clarencedang@yahoo.com>
To: Frank Cox <theatre@melvilletheatre.com>
Cc: linux-msdos@vger.kernel.org
Subject: Re: Integer overflow in drive capacity
Date: Sun, 10 Jun 2007 10:52:45 +1000	[thread overview]
Message-ID: <200706101052.47752.clarencedang@yahoo.com> (raw)
In-Reply-To: <20070602203044.a8c60ebe.theatre@melvilletheatre.com>

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).

      reply	other threads:[~2007-06-10  0:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-03  2:30 Integer overflow in drive capacity Frank Cox
2007-06-10  0:52 ` Clarence Dang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200706101052.47752.clarencedang@yahoo.com \
    --to=clarencedang@yahoo.com \
    --cc=linux-msdos@vger.kernel.org \
    --cc=theatre@melvilletheatre.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox