summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-08-12 16:52:53 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-08-12 16:52:53 +0900
commitd734ff7d298d0abee4e6f75f94afd2d33e0c8fc6 (patch)
tree704597e9a322ca8fa85cf3db94ea51299e7fd076 /doc
parente2fcd6d72c577688160ce2ae3886edb67416525d (diff)
Added new file allocation method called 'trunc'
--file-allocation option can now take new value 'trunc'. 'trunc' uses ftruncate() system call or platform-specific counterpart to truncate a file to a specified length.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual-src/en/aria2c.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst
index 7adcf90d..a6b639d3 100644
--- a/doc/manual-src/en/aria2c.rst
+++ b/doc/manual-src/en/aria2c.rst
@@ -1078,7 +1078,11 @@ Advanced Options
entirely until allocation finishes. ``falloc`` may
not be available if your system doesn't have
:manpage:`posix_fallocate(3)` function.
- Possible Values: ``none``, ``prealloc``, ``falloc``
+ ``trunc`` uses :manpage:`ftruncate(2)` system call or
+ platform-specific counterpart to truncate a file to a specified
+ length.
+
+ Possible Values: ``none``, ``prealloc``, ``trunc``, ``falloc``
Default: ``prealloc``
.. option:: --hash-check-only[=true|false]