The 2006 Linux Filesystems Workshop (Part III)
Posted Jul 6, 2006 11:45 UTC (Thu) by
NAR (subscriber, #1313)
Parent article:
The 2006 Linux Filesystems Workshop (Part III)
Another technique is the POSIX fallocate() function, which tells the file system to allocate N bytes of disk space for this file, which is useful for programs like tar and package managers which know exactly how large a file will be.
There is an other class of applications that know the file size beforehand - download managers, FTP clients, browsers, P2P tools, etc. that get the file size from the network protocol.
Bye,NAR
(
Log in to post comments)