Commit graph

25 commits

Author SHA1 Message Date
Imbus
53239324ef Tell the user how much data will be written beforehand 2026-02-07 18:24:32 +01:00
Imbus
a1556ca383 Set (y/n) prompt to (y/N) to better reflect behaviour 2026-02-07 18:23:59 +01:00
Imbus
0a4626e7d1 Fix formatting when error occurs 2026-02-07 18:23:33 +01:00
Imbus
3bfbfd46fa Move noisy metadata info into help section 2026-02-07 17:36:29 +01:00
Imbus
c67c68615a Add noconfirm flag 2026-02-07 17:24:31 +01:00
Imbus
13e27bbcc1 Flush block device with ioctl before reading it back 2026-02-07 17:24:16 +01:00
Imbus
c08ee6a738 Guard for verify only 2026-02-07 17:23:27 +01:00
Imbus
19bf88b2e6 Block size set to 1MiB 2026-02-07 17:22:06 +01:00
Imbus
5277b78fd3 Prompt user before doing anything 2026-02-07 14:55:24 +01:00
Imbus
21f2420d42 Now includes a simple progress bar, percent only 2026-02-07 14:55:05 +01:00
Imbus
9e96ebaca0 Assertion on file descriptor write access 2026-02-07 14:54:25 +01:00
Imbus
804a6b1485 Include the file size in the write job struct for future reference in data rate and progress bar 2026-02-07 13:52:13 +01:00
Imbus
c11bdd7f47 Assert that the file size is above zero 2026-02-07 13:51:44 +01:00
Imbus
88a1a87ca6 Guard for block device name string starting with "/dev/" 2026-02-07 13:51:16 +01:00
Imbus
cf85ca788a Verification logic now verifies both by-block and crc32 2026-02-07 13:23:53 +01:00
Imbus
3d61eeb1ab Make block size a compile-time tunable 2026-02-07 13:22:05 +01:00
Imbus
1a73c5a248 Rename: BUFSIZE -> BLOCKSIZE 2026-02-07 13:06:52 +01:00
Imbus
fda25171b2 Include proper version string 2026-02-05 02:34:58 +01:00
Imbus
377bcb5642 Guard for when defs CR_YEAR and BLDDATE are not supplied 2026-02-05 00:16:06 +01:00
Imbus
1e82124264 While verifying, when reading the block device, read only as much as was read from the file. 2026-02-04 23:57:07 +01:00
Imbus
e69243180f Remove commented code 2026-02-04 23:49:42 +01:00
Imbus
dd1679c824 Convert wjob to a singleton of type write_job 2026-02-04 23:49:13 +01:00
Imbus
3e766afea3 Specify BSD-2 in copyright string 2026-02-04 23:48:54 +01:00
Imbus
08deed9f60 Remove unused buffer pointer 2026-02-04 23:23:11 +01:00
Imbus
77de1f5ac0 Initial 2026-02-04 22:59:39 +01:00