Guest User

Untitled

a guest
Jan 7th, 2022
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.49 KB | None | 0 0
  1. gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
  2. /dev/sdc1 on /run/media/user/1F7A730C4D0354A9 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
  3. [user@linux-pc woeusb]$ less /usr/bin/woeusb
  4. [user@linux-pc woeusb]$ sudo woeusb -d "/home/user/Downloads/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only.iso" /dev/sdc --target-filesystem NTFS --debug
  5. + return 0
  6. + process_miscellaneous_requests false false false WoeUSB 5.2.4 https://github.com/WoeUSB/WoeUSB 'Copyright © Colin GILLE / congelli501 2013\nCopyright © slacka et.al. 2020' 'WoeUSB is free software licensed under the GNU General Public License version 3(or any later version of your preference) that gives you THE 4 ESSENTIAL FREEDOMS\nhttps://www.gnu.org/philosophy/' woeusb
  7. + check_function_parameters_quantity 9 9
  8. + '[' 2 -ne 2 ']'
  9. + local -i expected_parameter_quantity=9
  10. + shift
  11. + local -i given_parameter_quantity=9
  12. + local failed=false
  13. + [[ 9 =~ ^[[:digit:]]+$ ]]
  14. + '[' 9 -ne 9 ']'
  15. + test false == true
  16. + return 0
  17. + local -r flag_print_help=false
  18. + shift
  19. + local -r flag_print_version=false
  20. + shift
  21. + local -r flag_print_about=false
  22. + shift
  23. + local -r application_name=WoeUSB
  24. + shift
  25. + local -r application_version=5.2.4
  26. + shift
  27. + local -r application_site_url=https://github.com/WoeUSB/WoeUSB
  28. + shift
  29. + local -r 'application_copyright_declaration=Copyright © Colin GILLE / congelli501 2013\nCopyright © slacka et.al. 2020'
  30. + shift
  31. + local -r 'application_copyright_notice=WoeUSB is free software licensed under the GNU General Public License version 3(or any later version of your preference) that gives you THE 4 ESSENTIAL FREEDOMS\nhttps://www.gnu.org/philosophy/'
  32. + shift
  33. + local -r program_name=woeusb
  34. + shift
  35. + '[' false == true ']'
  36. + '[' false == true ']'
  37. + '[' false == true ']'
  38. + printf -- '%s\n%s\n' 'WoeUSB v5.2.4' ==============================
  39. WoeUSB v5.2.4
  40. ==============================
  41. + check_superuser WoeUSB
  42. + check_function_parameters_quantity 1 1
  43. + '[' 2 -ne 2 ']'
  44. + local -i expected_parameter_quantity=1
  45. + shift
  46. + local -i given_parameter_quantity=1
  47. + local failed=false
  48. + [[ 1 =~ ^[[:digit:]]+$ ]]
  49. + '[' 1 -ne 1 ']'
  50. + test false == true
  51. + return 0
  52. + local -r application_name=WoeUSB
  53. + shift
  54. ++ id --user
  55. + '[' '!' 0 = 0 ']'
  56. + return 0
  57. + check_runtime_parameters install_mode source_media target_media 'Windows USB'
  58. + check_function_parameters_quantity 4 4
  59. + '[' 2 -ne 2 ']'
  60. + local -i expected_parameter_quantity=4
  61. + shift
  62. + local -i given_parameter_quantity=4
  63. + local failed=false
  64. + [[ 4 =~ ^[[:digit:]]+$ ]]
  65. + '[' 4 -ne 4 ']'
  66. + test false == true
  67. + return 0
  68. + local -n install_mode_ref=install_mode
  69. + shift
  70. + local -n source_media_ref=source_media
  71. + shift
  72. + local -n target_media_ref=target_media
  73. + shift
  74. + '[' '!' -f '/home/user/Downloads/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only.iso' ']'
  75. + '[' -b /dev/sdc ']'
  76. + '[' device = device ']'
  77. + [[ /dev/sdc =~ .*[0-9] ]]
  78. + '[' device = partition ']'
  79. + return 0
  80. + determine_target_parameters device /dev/sdc target_device target_partition target_filesystem_type
  81. + check_function_parameters_quantity 5 5
  82. + '[' 2 -ne 2 ']'
  83. + local -i expected_parameter_quantity=5
  84. + shift
  85. + local -i given_parameter_quantity=5
  86. + local failed=false
  87. + [[ 5 =~ ^[[:digit:]]+$ ]]
  88. + '[' 5 -ne 5 ']'
  89. + test false == true
  90. + return 0
  91. + local install_mode=device
  92. + shift
  93. + local target_media=/dev/sdc
  94. + shift
  95. + local -n target_device_ref=target_device
  96. + shift
  97. + local -n target_partition_ref=target_partition
  98. + shift
  99. + local -n target_filesystem_type_ref=target_filesystem_type
  100. + shift
  101. + '[' device = partition ']'
  102. + target_device_ref=/dev/sdc
  103. + target_partition_ref=/dev/sdc1
  104. + '[' false = true ']'
  105. + return 0
  106. + check_source_and_target_not_busy device '/home/user/Downloads/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only.iso' /dev/sdc /dev/sdc1
  107. + check_function_parameters_quantity 4 4
  108. + '[' 2 -ne 2 ']'
  109. + local -i expected_parameter_quantity=4
  110. + shift
  111. + local -i given_parameter_quantity=4
  112. + local failed=false
  113. + [[ 4 =~ ^[[:digit:]]+$ ]]
  114. + '[' 4 -ne 4 ']'
  115. + test false == true
  116. + return 0
  117. + local install_mode=device
  118. + shift
  119. + local 'source_media=/home/user/Downloads/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only.iso'
  120. + shift
  121. + local target_device=/dev/sdc
  122. + shift
  123. + local target_partition=/dev/sdc1
  124. + shift
  125. ++ mount
  126. ++ grep --count --fixed-strings '/home/user/Downloads/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only.iso'
  127. + '[' 0 '!=' 0 ']'
  128. + '[' device = partition ']'
  129. + is_target_busy /dev/sdc
  130. + check_function_parameters_quantity 1 1
  131. + '[' 2 -ne 2 ']'
  132. + local -i expected_parameter_quantity=1
  133. + shift
  134. + local -i given_parameter_quantity=1
  135. + local failed=false
  136. + [[ 1 =~ ^[[:digit:]]+$ ]]
  137. + '[' 1 -ne 1 ']'
  138. + test false == true
  139. + return 0
  140. + local device=/dev/sdc
  141. + shift
  142. ++ mount
  143. ++ grep --count --fixed-strings /dev/sdc
  144. + '[' 1 -ne 0 ']'
  145. + return 0
  146. + print_error 'Target device is currently busy, unmount all mounted partitions in target device then try again\n'
  147. + printf_arguments=('Target device is currently busy, unmount all mounted partitions in target device then try again\n')
  148. + local -a printf_arguments
  149. + test 1 -eq 0
  150. + printf_with_color red 'ERROR: '
  151. + '[' 2 -lt 2 ']'
  152. + local -r color=red
  153. + shift
  154. + printf_parameters=('ERROR: ')
  155. + local -ar printf_parameters
  156. + '[' false == true ']'
  157. + switch_terminal_text_color red
  158. + check_function_parameters_quantity 1 1
  159. + '[' 2 -ne 2 ']'
  160. + local -i expected_parameter_quantity=1
  161. + shift
  162. + local -i given_parameter_quantity=1
  163. + local failed=false
  164. + [[ 1 =~ ^[[:digit:]]+$ ]]
  165. + '[' 1 -ne 1 ']'
  166. + test false == true
  167. + return 0
  168. + local -r color=red
  169. + shift
  170. + case "${color}" in
  171. + echo -en '\033[0;31m'
  172. + printf -- 'ERROR: '
  173. ERROR: + switch_terminal_text_color none
  174. + check_function_parameters_quantity 1 1
  175. + '[' 2 -ne 2 ']'
  176. + local -i expected_parameter_quantity=1
  177. + shift
  178. + local -i given_parameter_quantity=1
  179. + local failed=false
  180. + [[ 1 =~ ^[[:digit:]]+$ ]]
  181. + '[' 1 -ne 1 ']'
  182. + test false == true
  183. + return 0
  184. + local -r color=none
  185. + shift
  186. + case "${color}" in
  187. + tput sgr0
  188. + printf_with_color red 'Target device is currently busy, unmount all mounted partitions in target device then try again\n'
  189. + '[' 2 -lt 2 ']'
  190. + local -r color=red
  191. + shift
  192. + printf_parameters=('Target device is currently busy, unmount all mounted partitions in target device then try again\n')
  193. + local -ar printf_parameters
  194. + '[' false == true ']'
  195. + switch_terminal_text_color red
  196. + check_function_parameters_quantity 1 1
  197. + '[' 2 -ne 2 ']'
  198. + local -i expected_parameter_quantity=1
  199. + shift
  200. + local -i given_parameter_quantity=1
  201. + local failed=false
  202. + [[ 1 =~ ^[[:digit:]]+$ ]]
  203. + '[' 1 -ne 1 ']'
  204. + test false == true
  205. + return 0
  206. + local -r color=red
  207. + shift
  208. + case "${color}" in
  209. + echo -en '\033[0;31m'
  210. + printf -- 'Target device is currently busy, unmount all mounted partitions in target device then try again\n'
  211. Target device is currently busy, unmount all mounted partitions in target device then try again
  212. + switch_terminal_text_color none
  213. + check_function_parameters_quantity 1 1
  214. + '[' 2 -ne 2 ']'
  215. + local -i expected_parameter_quantity=1
  216. + shift
  217. + local -i given_parameter_quantity=1
  218. + local failed=false
  219. + [[ 1 =~ ^[[:digit:]]+$ ]]
  220. + '[' 1 -ne 1 ']'
  221. + test false == true
  222. + return 0
  223. + local -r color=none
  224. + shift
  225. + case "${color}" in
  226. + tput sgr0
  227. + exit 1
  228. + trap_exit
  229. + local flag_unclean=false
  230. + local flag_unsafe=false
  231. + '[' -n '' ']'
  232. + test false == true
  233. + test false == true
  234. + '[' false = true ']'
  235. + '[' false = true ']'
  236. + unset flag_unclean flag_unsafe
  237. + is_var_set_and_not_empty target_device
  238. + check_function_parameters_quantity 1 1
  239. + '[' 2 -ne 2 ']'
  240. + local -i expected_parameter_quantity=1
  241. + shift
  242. + local -i given_parameter_quantity=1
  243. + local failed=false
  244. + [[ 1 =~ ^[[:digit:]]+$ ]]
  245. + '[' 1 -ne 1 ']'
  246. + test false == true
  247. + return 0
  248. + local parameter_name=target_device
  249. + shift
  250. + '[' '!' -v target_device ']'
  251. + local -n parameter_ref
  252. + parameter_ref=target_device
  253. + '[' -z /dev/sdc ']'
  254. + return 0
  255. + is_target_busy /dev/sdc
  256. + check_function_parameters_quantity 1 1
  257. + '[' 2 -ne 2 ']'
  258. + local -i expected_parameter_quantity=1
  259. + shift
  260. + local -i given_parameter_quantity=1
  261. + local failed=false
  262. + [[ 1 =~ ^[[:digit:]]+$ ]]
  263. + '[' 1 -ne 1 ']'
  264. + test false == true
  265. + return 0
  266. + local device=/dev/sdc
  267. + shift
  268. ++ mount
  269. ++ grep --count --fixed-strings /dev/sdc
  270. + '[' 1 -ne 0 ']'
  271. + return 0
  272. + print_warning 'Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.\n'
  273. + printf_arguments=('Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.\n')
  274. + local -a printf_arguments
  275. + test 1 -eq 0
  276. + printf_with_color yellow 'Warning: '
  277. + '[' 2 -lt 2 ']'
  278. + local -r color=yellow
  279. + shift
  280. + printf_parameters=('Warning: ')
  281. + local -ar printf_parameters
  282. + '[' false == true ']'
  283. + switch_terminal_text_color yellow
  284. + check_function_parameters_quantity 1 1
  285. + '[' 2 -ne 2 ']'
  286. + local -i expected_parameter_quantity=1
  287. + shift
  288. + local -i given_parameter_quantity=1
  289. + local failed=false
  290. + [[ 1 =~ ^[[:digit:]]+$ ]]
  291. + '[' 1 -ne 1 ']'
  292. + test false == true
  293. + return 0
  294. + local -r color=yellow
  295. + shift
  296. + case "${color}" in
  297. + echo -en '\033[0;33m'
  298. + printf -- 'Warning: '
  299. Warning: + switch_terminal_text_color none
  300. + check_function_parameters_quantity 1 1
  301. + '[' 2 -ne 2 ']'
  302. + local -i expected_parameter_quantity=1
  303. + shift
  304. + local -i given_parameter_quantity=1
  305. + local failed=false
  306. + [[ 1 =~ ^[[:digit:]]+$ ]]
  307. + '[' 1 -ne 1 ']'
  308. + test false == true
  309. + return 0
  310. + local -r color=none
  311. + shift
  312. + case "${color}" in
  313. + tput sgr0
  314. + printf_with_color yellow 'Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.\n'
  315. + '[' 2 -lt 2 ']'
  316. + local -r color=yellow
  317. + shift
  318. + printf_parameters=('Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.\n')
  319. + local -ar printf_parameters
  320. + '[' false == true ']'
  321. + switch_terminal_text_color yellow
  322. + check_function_parameters_quantity 1 1
  323. + '[' 2 -ne 2 ']'
  324. + local -i expected_parameter_quantity=1
  325. + shift
  326. + local -i given_parameter_quantity=1
  327. + local failed=false
  328. + [[ 1 =~ ^[[:digit:]]+$ ]]
  329. + '[' 1 -ne 1 ']'
  330. + test false == true
  331. + return 0
  332. + local -r color=yellow
  333. + shift
  334. + case "${color}" in
  335. + echo -en '\033[0;33m'
  336. + printf -- 'Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.\n'
  337. Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.
  338. + switch_terminal_text_color none
  339. + check_function_parameters_quantity 1 1
  340. + '[' 2 -ne 2 ']'
  341. + local -i expected_parameter_quantity=1
  342. + shift
  343. + local -i given_parameter_quantity=1
  344. + local failed=false
  345. + [[ 1 =~ ^[[:digit:]]+$ ]]
  346. + '[' 1 -ne 1 ']'
  347. + test false == true
  348. + return 0
  349. + local -r color=none
  350. + shift
  351. + case "${color}" in
  352. + tput sgr0
  353. + rm --recursive /tmp/WoeUSB.tempdir.WpGkf5
  354. + return 0
  355. [user@linux-pc woeusb]$
  356.  
Advertisement
Add Comment
Please, Sign In to add comment