On 12 Oct 2000, Jean-Marc Lasgouttes wrote:
> >>>>> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes:
>
> Baruch> The patch to the file system full gives detection but it
> Baruch> creates another bug which is that the file is created with
> Baruch> size 0 and is not deleted. This was noticed when using the
> Baruch> SaveAs function. I'm not well versed in the chain of work in
> Baruch> the core so I'm sending the patch as it is and will try
> Baruch> hunting the new bug, but no promises implied.
>
> And what happens when there is an error? Does the user have an error
> message telling that saving did not work? If so, I want to apply the
> patch too. Lars, could you give your blessing about the method used?
> It seems reasonable to me, but I do not know how to try it on an
> out-of-space case, in fact.
It gives an error telling the user that a problem occured, though does not
specify exactly what, I don't know how to detect the exact error anyhow.
The way I tested it is to fill a partition completely by using the
command:
dd if=/dev/zero of=test.file
This will fill the drive completely (make sure to run it as a user and NOT
AS ROOT, root has some space reserved for his use).
--
Baruch Even
http://techst02.technion.ac.il/~sbaruch/ (My Site)
http://www.redrival.com/jindor/ (My brothers AD&D site)
" Learn to laugh ... it's the path to true love! "
- The Angel in the movie Michael