Commit Graph

52 Commits

Author SHA1 Message Date
5a335e5594 Erasing GPT backup header block, if expr is good enough 2020-01-07 16:47:41 +01:00
43d5804db3 New xorriso-dd-target option -version 2020-01-06 22:02:19 +01:00
557e69ada1 Using dd option status=progress if available 2020-01-06 21:44:11 +01:00
71b61339e9 xorriso-dd-target returned exit value 1 if no device name is given and one of the listed devices is not advisable 2020-01-01 09:06:01 +01:00
239244157b Followed advice of Open Group about shell command "test" 2019-12-22 17:02:02 +01:00
b97841b782 Shielded processing of user arguments against leading dashes 2019-12-21 11:07:39 +01:00
42df8f913c Fixed the test for mounted devices after umount. Regression by 8fee0fc. 2019-12-16 13:11:55 +01:00
93ebe301f7 Removed the work copy xorriso-dd-target.xdt 2019-12-15 19:49:57 +01:00
39163b64c8 Replaced xorriso-dd-target by xorriso-dd-target.xdt 2019-12-15 19:47:38 +01:00
8fee0fce40 Created function xdt_unmount from xdt_write_image 2019-12-14 17:13:01 +01:00
b8a2a0bdd3 Created function xdt_predict_su_power from end of xdt_arg_interpreter 2019-12-14 15:21:27 +01:00
a3a351bb59 Improved handling of dd failure 2019-12-12 23:26:04 +01:00
f6c56febbf Some corrections of the previous commit 2019-12-12 20:59:09 +01:00
ab2af1dff2 A version of xorriso-dd-target with xdt_-prefixed symbols and return instead of exit 2019-12-12 20:31:14 +01:00
ac018842da Trying to avoid race conditions with automounters during and after -plug_test 2019-12-10 16:45:32 +01:00
1efa98ae40 Small fixes with help text and program message 2019-12-09 21:40:58 +01:00
6bfdd2f9d9 Disabled -list_long before giving device overview after rejected -DO_WRITE 2019-12-09 14:21:57 +01:00
27bc463332 Exchanged two-byte UTF-8 characters by ASCII lookalikes 2019-12-09 13:26:31 +01:00
e5d86b3a13 Giving device detected by -plug_test an extra second to settle 2019-12-08 21:52:41 +01:00
697c8cc1f9 Forcing locale "C" to avoid grep ambiguities and locale bugs 2019-12-08 19:39:09 +01:00
157cb19092 Equipped xorriso-dd-target -dummy_force example with -list_long 2019-12-08 15:19:22 +01:00
2a8894a5c6 Added forgotten initialization of variable umount_cmd 2019-12-08 14:37:19 +01:00
1b22aa5465 Removed option -list_long_after, changed -list_long_inline to -list_long 2019-12-07 21:28:13 +01:00
ba505e86c9 Imposing stricter checks on option parameters 2019-12-07 15:35:41 +01:00
51994a7571 Experimental options -list_long_inline -list_long_after 2019-12-07 09:58:55 +01:00
fd04b110fd New reason looks_like_loopdev- 2019-12-06 13:02:43 +01:00
3ac5dba1c7 Excluding loop devices from being considered 2019-12-06 09:25:50 +01:00
98c301e7b9 Letting round_down_div_million() convert small numbers to 0 2019-12-05 20:11:19 +01:00
a28ad87aae Clarified in man page the use of option -with_vendor_model 2019-12-05 18:27:31 +01:00
a09ed16fc3 Tell no_bus_info- rather than not_usb- if lsblkd -o TRAN fails 2019-12-05 18:17:17 +01:00
5e727b43ad Rejecting zram[0-9] as candidate device 2019-12-05 18:15:55 +01:00
c0b650bebb Simplified the pipeline which obtains the partition device files 2019-12-04 17:18:14 +01:00
e226486172 Taking inability to determine -image_file size as reason to abort 2019-12-04 12:31:53 +01:00
245102072c Unwrapped the tree usages of vraiable sudo_cmd, because it can be empty 2019-12-04 12:18:57 +01:00
f419f51f1e Rejecting device names which are not a single word 2019-12-03 22:07:34 +01:00
7fa1f82ed9 Removed unused variable 2019-12-03 21:47:07 +01:00
3bf01c109d Replaced fgrep by grep -F 2019-12-03 21:41:17 +01:00
f7f484de20 Wrapped command path variables in double quotes 2019-12-03 20:54:45 +01:00
02e55a9dbc Enabled real writing in xorriso-dd-target 2019-12-03 10:58:11 +01:00
6de23e96de Avoided to show mount lines again after -dummy umount 2019-12-03 10:34:19 +01:00
74f05d33f5 Made changes to -plug_test step 3 2019-12-02 19:56:08 +01:00
9b711f20ec Reassured success of unmount 2019-12-02 17:13:00 +01:00
23bce9c669 Added info and man page for xorriso-dd-target 2019-12-02 10:59:14 +01:00
a6ab055153 Small fixes of problems found while writing documentation 2019-12-02 10:56:15 +01:00
9ffb3ff2d5 Running sudo early in order to get the possible password prompt 2019-11-30 19:49:54 +01:00
099d24f740 Added option -dummy_force 2019-11-30 18:35:31 +01:00
69ce40b6d4 Added a confirmation prompt to -plug_test controlled write runs 2019-11-30 17:26:18 +01:00
b0db123119 Added pacifier dots to the waiting loop of -plug_test 2019-11-30 15:59:28 +01:00
b8f77670d9 Introduced option -plug_test 2019-11-30 15:18:47 +01:00
81272c80ca Introduced option -dummy and enabled real unmounting 2019-11-30 13:06:16 +01:00