Commit Graph

41 Commits

Author SHA1 Message Date
Thomas Schmitt 557e69ada1 Using dd option status=progress if available 2020-01-06 21:44:11 +01:00
Thomas Schmitt 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
Thomas Schmitt 239244157b Followed advice of Open Group about shell command "test" 2019-12-22 17:02:02 +01:00
Thomas Schmitt b97841b782 Shielded processing of user arguments against leading dashes 2019-12-21 11:07:39 +01:00
Thomas Schmitt 42df8f913c Fixed the test for mounted devices after umount. Regression by 8fee0fc. 2019-12-16 13:11:55 +01:00
Thomas Schmitt 39163b64c8 Replaced xorriso-dd-target by xorriso-dd-target.xdt 2019-12-15 19:47:38 +01:00
Thomas Schmitt a3a351bb59 Improved handling of dd failure 2019-12-12 23:26:04 +01:00
Thomas Schmitt ac018842da Trying to avoid race conditions with automounters during and after -plug_test 2019-12-10 16:45:32 +01:00
Thomas Schmitt 1efa98ae40 Small fixes with help text and program message 2019-12-09 21:40:58 +01:00
Thomas Schmitt 6bfdd2f9d9 Disabled -list_long before giving device overview after rejected -DO_WRITE 2019-12-09 14:21:57 +01:00
Thomas Schmitt e5d86b3a13 Giving device detected by -plug_test an extra second to settle 2019-12-08 21:52:41 +01:00
Thomas Schmitt 697c8cc1f9 Forcing locale "C" to avoid grep ambiguities and locale bugs 2019-12-08 19:39:09 +01:00
Thomas Schmitt 2a8894a5c6 Added forgotten initialization of variable umount_cmd 2019-12-08 14:37:19 +01:00
Thomas Schmitt 1b22aa5465 Removed option -list_long_after, changed -list_long_inline to -list_long 2019-12-07 21:28:13 +01:00
Thomas Schmitt ba505e86c9 Imposing stricter checks on option parameters 2019-12-07 15:35:41 +01:00
Thomas Schmitt 51994a7571 Experimental options -list_long_inline -list_long_after 2019-12-07 09:58:55 +01:00
Thomas Schmitt fd04b110fd New reason looks_like_loopdev- 2019-12-06 13:02:43 +01:00
Thomas Schmitt 3ac5dba1c7 Excluding loop devices from being considered 2019-12-06 09:25:50 +01:00
Thomas Schmitt 98c301e7b9 Letting round_down_div_million() convert small numbers to 0 2019-12-05 20:11:19 +01:00
Thomas Schmitt a09ed16fc3 Tell no_bus_info- rather than not_usb- if lsblkd -o TRAN fails 2019-12-05 18:17:17 +01:00
Thomas Schmitt 5e727b43ad Rejecting zram[0-9] as candidate device 2019-12-05 18:15:55 +01:00
Thomas Schmitt c0b650bebb Simplified the pipeline which obtains the partition device files 2019-12-04 17:18:14 +01:00
Thomas Schmitt e226486172 Taking inability to determine -image_file size as reason to abort 2019-12-04 12:31:53 +01:00
Thomas Schmitt 245102072c Unwrapped the tree usages of vraiable sudo_cmd, because it can be empty 2019-12-04 12:18:57 +01:00
Thomas Schmitt f419f51f1e Rejecting device names which are not a single word 2019-12-03 22:07:34 +01:00
Thomas Schmitt 7fa1f82ed9 Removed unused variable 2019-12-03 21:47:07 +01:00
Thomas Schmitt 3bf01c109d Replaced fgrep by grep -F 2019-12-03 21:41:17 +01:00
Thomas Schmitt f7f484de20 Wrapped command path variables in double quotes 2019-12-03 20:54:45 +01:00
Thomas Schmitt 02e55a9dbc Enabled real writing in xorriso-dd-target 2019-12-03 10:58:11 +01:00
Thomas Schmitt 6de23e96de Avoided to show mount lines again after -dummy umount 2019-12-03 10:34:19 +01:00
Thomas Schmitt 74f05d33f5 Made changes to -plug_test step 3 2019-12-02 19:56:08 +01:00
Thomas Schmitt 9b711f20ec Reassured success of unmount 2019-12-02 17:13:00 +01:00
Thomas Schmitt a6ab055153 Small fixes of problems found while writing documentation 2019-12-02 10:56:15 +01:00
Thomas Schmitt 9ffb3ff2d5 Running sudo early in order to get the possible password prompt 2019-11-30 19:49:54 +01:00
Thomas Schmitt 099d24f740 Added option -dummy_force 2019-11-30 18:35:31 +01:00
Thomas Schmitt 69ce40b6d4 Added a confirmation prompt to -plug_test controlled write runs 2019-11-30 17:26:18 +01:00
Thomas Schmitt b0db123119 Added pacifier dots to the waiting loop of -plug_test 2019-11-30 15:59:28 +01:00
Thomas Schmitt b8f77670d9 Introduced option -plug_test 2019-11-30 15:18:47 +01:00
Thomas Schmitt 81272c80ca Introduced option -dummy and enabled real unmounting 2019-11-30 13:06:16 +01:00
Thomas Schmitt e36596b8d4 Assessing which partitions are really mounted. Made sure that a bus related reason is shown if bus was inquired. Improved hint and usage text. 2019-11-30 10:18:25 +01:00
Thomas Schmitt fe46a2d983 Beginning public development of xorriso-dd-target 2019-11-29 12:13:42 +01:00