Mike Swanson
00354749f2
Use ftruncate on Unix to create hard disk images quickly
...
Instead of writing out disk blocks slowly across the entire volume,
just use the ftruncate function to create a file instantly at the
desired size.
Depending on file system, this can either result in identical results
to the old code just faster (eg: ZFS and btrfs with compression
enabled), sparse files (most native Unix file systems without
compression, eg ext4 and UFS), or a full non-sparse file like before
(creating an image on FAT).
2024-09-02 22:52:24 -07:00
..
2024-03-15 18:16:21 +01:00
2024-07-28 03:36:43 +02:00
2024-08-07 05:38:05 +02:00
2024-03-15 18:16:21 +01:00
2024-03-15 18:16:21 +01:00
2023-04-09 18:08:03 -03:00
2024-08-28 02:06:35 +05:00
2023-07-11 16:49:14 -04:00
2022-11-19 11:53:07 -05:00
2024-06-10 20:10:50 -04:00
2023-04-15 13:43:23 -03:00
2023-04-08 17:58:55 -03:00
2023-08-07 18:49:58 +02:00
2023-08-07 18:49:58 +02:00
2023-08-12 18:48:25 +02:00
2024-07-29 18:55:20 +05:00
2024-05-03 17:02:13 +02:00
2021-11-25 10:20:56 +01:00
2023-07-11 15:55:13 -04:00
2023-07-11 15:55:13 -04:00
2022-02-10 01:38:00 +06:00
2024-09-02 22:52:24 -07:00
2024-02-23 18:13:52 +01:00
2023-08-25 02:14:01 +05:00
2024-05-03 17:02:13 +02:00
2024-04-18 12:29:27 -04:00
2024-02-13 21:13:25 +05:00
2024-02-13 21:13:25 +05:00
2024-07-29 18:55:20 +05:00
2022-11-19 11:53:07 -05:00
2023-08-25 02:14:01 +05:00
2024-07-20 14:49:24 -04:00
2022-12-09 22:13:15 +02:00
2024-08-24 04:24:06 +02:00
2024-08-24 04:24:06 +02:00
2024-06-26 23:09:55 +02:00
2024-08-07 05:38:05 +02:00
2022-12-22 13:21:28 +06:00
2022-11-19 11:53:07 -05:00
2022-05-23 18:48:01 +06:00
2024-08-27 05:09:35 +02:00
2024-08-27 05:09:35 +02:00
2024-09-03 03:15:43 +05:00
2024-09-03 03:15:43 +05:00
2022-11-19 11:53:07 -05:00
2023-01-08 14:25:18 +01:00
2022-11-19 11:53:07 -05:00
2023-08-23 00:18:15 -04:00
2022-11-19 11:53:07 -05:00
2023-08-25 02:14:01 +05:00
2023-01-08 14:25:18 +01:00
2023-01-08 14:25:18 +01:00
2023-01-08 14:25:18 +01:00
2023-01-08 14:25:18 +01:00
2022-02-27 14:56:51 +02:00
2023-01-08 14:25:18 +01:00
2023-01-08 14:25:18 +01:00
2024-06-21 15:36:28 +06:00
2024-07-29 20:07:00 +05:00
2024-03-20 20:33:31 +05:00
2023-08-25 02:14:01 +05:00
2024-02-13 21:13:25 +05:00
2024-02-13 18:40:07 +05:00
2024-07-26 20:12:10 +02:00
2024-02-13 18:40:07 +05:00
2021-12-04 21:33:04 +01:00
2024-05-03 17:02:13 +02:00
2024-05-03 17:02:13 +02:00
2024-07-13 09:30:36 -04:00
2022-11-19 11:53:07 -05:00
2024-07-13 09:30:36 -04:00
2024-07-19 23:27:21 -04:00
2024-07-19 23:27:21 -04:00
2024-04-02 10:28:49 -04:00
2024-07-17 13:34:15 +06:00
2024-04-18 12:29:27 -04:00
2024-07-13 09:30:36 -04:00
2024-04-18 12:29:27 -04:00
2024-04-18 12:29:27 -04:00
2023-08-25 02:14:01 +05:00
2024-02-18 17:31:03 +05:00
2022-11-19 11:53:07 -05:00
2023-08-25 02:14:01 +05:00
2024-07-29 18:55:20 +05:00
2024-04-02 10:28:49 -04:00
2024-04-02 10:28:49 -04:00
2023-10-06 05:47:40 +02:00
2022-11-19 11:53:07 -05:00
2023-08-25 02:14:01 +05:00
2024-06-08 04:35:29 +02:00
2024-02-26 03:15:44 +06:00
2024-02-26 03:15:44 +06:00
2024-05-03 17:02:13 +02:00
2024-05-03 17:02:13 +02:00
2024-07-13 09:30:36 -04:00
2024-07-19 23:29:37 -04:00
2024-07-19 23:29:37 -04:00
2023-08-25 02:14:01 +05:00
2024-05-03 17:02:13 +02:00
2023-02-02 03:29:38 -05:00
2023-08-25 02:14:01 +05:00
2024-07-20 14:49:24 -04:00
2024-03-06 15:14:56 +06:00
2024-03-06 15:14:56 +06:00
2024-02-13 21:13:25 +05:00
2022-11-19 11:53:07 -05:00
2023-01-08 14:25:18 +01:00
2022-11-19 11:53:07 -05:00
2022-02-05 23:13:39 +02:00
2023-01-08 14:25:18 +01:00
2022-11-19 11:53:07 -05:00
2022-02-15 15:14:45 +06:00
2023-01-08 14:25:18 +01:00
2022-11-19 11:53:07 -05:00
2024-05-03 01:40:09 +05:00
2024-05-03 17:02:13 +02:00
2023-01-08 14:25:18 +01:00
2023-01-08 14:25:18 +01:00
2024-06-28 10:43:19 -04:00
2024-06-28 10:43:19 -04:00
2023-08-11 16:34:06 -03:00
2023-08-11 16:34:06 -03:00
2022-11-19 11:53:07 -05:00
2022-11-19 11:53:07 -05:00
2023-02-14 20:53:59 -05:00
2023-01-08 14:25:18 +01:00
2024-08-07 06:11:50 +02:00
2023-08-07 18:49:58 +02:00
2024-07-21 12:49:06 +05:30
2024-03-08 01:33:14 +05:00
2022-04-24 00:56:11 +06:00
2022-04-24 00:56:11 +06:00
2024-07-20 19:55:47 +02:00
2023-01-08 14:25:18 +01:00
2024-02-18 18:29:31 +05:00
2024-04-01 21:08:55 +05:00
2024-03-15 18:16:21 +01:00
2024-04-01 21:08:55 +05:00
2024-08-17 01:22:06 +02:00
2023-08-07 18:49:58 +02:00
2023-08-07 18:49:58 +02:00
2023-11-21 23:44:12 +01:00
2023-11-21 23:44:12 +01:00
2023-08-07 18:49:58 +02:00
2023-06-27 12:26:38 -03:00
2023-04-08 00:31:25 -03:00
2023-05-29 06:21:17 -04:00
2023-04-08 00:31:25 -03:00
2023-04-08 14:32:05 -03:00
2023-04-07 22:35:32 -03:00