Commit graph

42 commits

Author SHA1 Message Date
Imbus
078ba792f0 Get version string from git, instead of hardcoded in makefile 2026-02-09 13:52:57 +01:00
Imbus
734c1c10ec Use bitmasking to keep track of flags 2026-02-09 13:36:59 +01:00
Imbus
117d01fcbe v0.2.1 bump 2026-02-07 18:52:56 +01:00
Imbus
692f89d6c2 Formatting 2026-02-07 18:44:40 +01:00
Imbus
5cbfc38e62 Add some introduction to readme and brush up the formatting 2026-02-07 18:42:38 +01:00
Imbus
008e9e7ca9 Readme txt -> md 2026-02-07 18:39:18 +01:00
Imbus
9d2645ad65 Readme 2026-02-07 18:38:48 +01:00
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
ab43512e42 Bump to v0.2.0 2026-02-07 17:36:37 +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
824f975510 Include EXTRA_CFLAGS for optional extras 2026-02-07 17:21:48 +01:00
Imbus
be2f00b91c Clang-format 2026-02-07 17:20:00 +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
2c2fcd6c8e Bring in single-header crc32 2026-02-07 13:22:29 +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
8a715e07fe Pass LDFLAGS, even if empty 2026-02-05 03:31:34 +01:00
Imbus
68ad220640 Install -d first 2026-02-05 02:55:00 +01:00
Imbus
fda25171b2 Include proper version string 2026-02-05 02:34:58 +01:00
Imbus
9add3b7667 Use DESTDIR and PREFIX in install target 2026-02-05 02:34:17 +01:00
Imbus
19806ab0b5 Repair broken install target 2026-02-05 00:16:38 +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
9f5ddebdb3 Links 2026-02-04 23:22:58 +01:00
Imbus
4cddeecdfa BSD 2-Clause 2026-02-04 23:22:53 +01:00
Imbus
77de1f5ac0 Initial 2026-02-04 22:59:39 +01:00