I think Tom is correct.
one zerofile has a size of 1.073.741.824 files. Copying two of these files creates a file 2GB with 2.147.483.649 Bytes (instead of 2.147.483.648 Bytes!
I am sure there is a reason for this (CRLF or whatever).
Additional I copied one zerofile with a smaller 0,9 GB zerofile (stopped the program to get this).
Result: The 1,9 GB file supports move whereas the 2 GB + 1 Byte gives the message:
"Unzureichender Speicherplatz im Zielverzeichnis" (Not enough free space)
I just tested xcopy with these files: 1,9GB works, 2GB + 1 Byte reports not enough free space.
It would be great if this could be fixed in the near future (before or after 1.4) for all affected
programs.
Willi / Fritz
Sent: Sunday, March 23, 2025 at 8:43 PM
From: "tom ehlert via Freedos-devel" <freedos-devel@lists.sourceforge.net>
To: "Technical discussion and questions for FreeDOS developers." <freedos-devel@lists.sourceforge.net>
Cc: "tom ehlert" <t...@drivesnapshot.de>
Subject: Re: [Freedos-devel] release MOVE 3.4 WAS: Re: XCOPY 1.7 Stack Overflow
From: "tom ehlert via Freedos-devel" <freedos-devel@lists.sourceforge.net>
To: "Technical discussion and questions for FreeDOS developers." <freedos-devel@lists.sourceforge.net>
Cc: "tom ehlert" <t...@drivesnapshot.de>
Subject: Re: [Freedos-devel] release MOVE 3.4 WAS: Re: XCOPY 1.7 Stack Overflow
Hallo Herr Eric Auer via Freedos-devel,
am Sonntag, 23. März 2025 um 19:53 schrieben Sie:
> Hi! If the file is EXACTLY 2 GB then maybe MOVE and XCOPY do
> not support the special file open and seek modes needed to
> support file sizes between 2 GB and almost 4 GB. Jeremy? :-)
The Freedos kernel supports 4GB files with standard open.
The problem here is that MOVE and XCOPY want to be smart and don't copy
the file unless the destination has enough room for the file.
Unfortunately it checks this using the old disk free space API, which
can only report up to 2GB of free space.
so it won't copy files > 2GB because there is not enough space.
Same problem as in ZEROFILL.
Tom
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel
am Sonntag, 23. März 2025 um 19:53 schrieben Sie:
> Hi! If the file is EXACTLY 2 GB then maybe MOVE and XCOPY do
> not support the special file open and seek modes needed to
> support file sizes between 2 GB and almost 4 GB. Jeremy? :-)
The Freedos kernel supports 4GB files with standard open.
The problem here is that MOVE and XCOPY want to be smart and don't copy
the file unless the destination has enough room for the file.
Unfortunately it checks this using the old disk free space API, which
can only report up to 2GB of free space.
so it won't copy files > 2GB because there is not enough space.
Same problem as in ZEROFILL.
Tom
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel
_______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel