[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Maximum file size



Hi,

On Tue, Oct 08, 2002 at 11:54:16AM -0400, Max Berenson wrote:
 
> Does the file system size limit of 1TB effectively limit the maximum
> file size to 1TB as well or can a file span file systems?

No, if the file is sparse (ie. it contains "holes" where there are no
disk blocks allocated), then the file size can be larger than the
filesystem size.  (You make a hole by seeking beyond the current
end-of-file and then writing there.  The blocks between the old EOF
and the start of the new write don't get allocated on disk, but get
automatically padded with zeroes on a subsequent read.)

Files cannot currently span multiple filesystems.

Cheers,
 Stephen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]