[BUG] large files?

John M McIntosh johnmci at smalltalkconsulting.com
Thu Nov 8 04:05:23 UTC 2001


>There should also probably be a query to FileDirectory for the
>maximum size of a file supported by the platform in that particular
>directory - *not* a global system attribute since some platforms can support
>different file systems with different maximums in the same directory tree.
>
>Also - did you/somebody deal with the file truncation issue?
>
>-- Duane

Good point. All you need the OS calls. IE yes you can do > 2GB file 
calls on the mac, but that only works for HFS+ volumes not HFS. Thus 
I'd guess there has to be a syscall somewhere that tells me how big a 
file can get for a particular volume.

Now if some nice Unix guru can let me know, that will save me some steps.
-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================




More information about the Squeak-dev mailing list