Browse Source

Documented that falloc can be used against NTFS(MinGW build only).

Tatsuhiro Tsujikawa 14 years ago
parent
commit
0f0d4b9a48
2 changed files with 11 additions and 10 deletions
  1. 2 2
      doc/aria2c.1.asciidoc
  2. 9 8
      src/usage_text.h

+ 2 - 2
doc/aria2c.1.asciidoc

@@ -920,10 +920,10 @@ Advanced Options
   before download begins. This may take some time depending on the size of the
   file.
   If you are using newer file systems such as ext4
-  (with extents support), btrfs or xfs, 'falloc' is
+  (with extents support), btrfs, xfs or NTFS(MinGW build only), 'falloc' is
   your best choice. It allocates large(few GiB)
   files almost instantly. Don't use 'falloc' with
-  legacy file systems such as ext3 because it takes
+  legacy file systems such as ext3 and FAT32 because it takes
   almost same time as 'prealloc' and it blocks aria2
   entirely until allocation finishes. 'falloc' may
   not be available if your system doesn't have

+ 9 - 8
src/usage_text.h

@@ -131,14 +131,15 @@
     "                              This may take some time depending on the size of\n" \
     "                              the file.\n"                         \
     "                              If you are using newer file systems such as ext4\n" \
-    "                              (with extents support), btrfs or xfs, 'falloc' is\n" \
-    "                              your best choice. It allocates large(few GiB)\n" \
-    "                              files almost instantly. Don't use 'falloc' with\n" \
-    "                              legacy file systems such as ext3 because it takes\n" \
-    "                              almost same time as 'prealloc' and it blocks aria2\n" \
-    "                              entirely until allocation finishes. 'falloc' may\n" \
-    "                              not be available if your system doesn't have\n" \
-    "                              posix_fallocate() function.")
+    "                              (with extents support), btrfs, xfs or NTFS\n" \
+    "                              (MinGW build only), 'falloc' is your best\n"   \
+    "                              choice. It allocates large(few GiB) files\n" \
+    "                              almost instantly. Don't use 'falloc' with legacy\n" \
+    "                              file systems such as ext3 and FAT32 because it\n" \
+    "                              takes almost same time as 'prealloc' and it\n" \
+    "                              blocks aria2 entirely until allocation finishes.\n" \
+    "                              'falloc' may not be available if your system\n" \
+    "                              doesn't have posix_fallocate() function.")
 #define TEXT_NO_FILE_ALLOCATION_LIMIT                                   \
   _(" --no-file-allocation-limit=SIZE No file allocation is made for files whose\n" \
     "                              size is smaller than SIZE.\n"        \