Skip to contentSkip to conversation

limiting free disk space

DISCUSSION Norberto Bensa 2 participants 3 messages Oct 6, 2004

lore
Share & tools
lore
#0 lore raw

Hello list,

Please, CC me any replies as I'm not subscribed to this list.

I'm trying to hunt down a bug in a COBOL program I'm writting for my CS class (please don't laugh; I live in Argentina.) The problem is that this very simple program crashes dosemu when it opens an indexed file.

Since the COBOL compiler I'm using was written on 1984/5, I think the problem lies in dosemu reporting 2GB free on C:. Is there any way to limit free disk space to let's say 50MB/200MB? If so, how?

Many thanks in advance,
Norberto

#1 lore raw
Quoted 8 lines · Norberto Bensa

I'm trying to hunt down a bug in a COBOL program I'm writting for my CS class (please don't laugh; I live in Argentina.) The problem is that this very simple program crashes dosemu when it opens an indexed file.

Since the COBOL compiler I'm using was written on 1984/5, I think the problem lies in dosemu reporting 2GB free on C:. Is there any way to limit free disk space to let's say 50MB/200MB? If so, how?

An easy way would be to make a loopback msdos/vfat image.

#2 lore raw
Quoted 5 lines · Clarence Dang
Quoted 2 lines · Norberto Bensa

Is there any way to
limit free disk space to let's say 50MB/200MB? If so, how?

An easy way would be to make a loopback msdos/vfat image.

Thanks!

I was hopping a "$_maxfreespace_c = 500M" or something else.

Regards,
Norberto