Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
- /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)
- [user@linux-pc woeusb]$ less /usr/bin/woeusb
- [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
- + return 0
- + 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
- + check_function_parameters_quantity 9 9
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=9
- + shift
- + local -i given_parameter_quantity=9
- + local failed=false
- + [[ 9 =~ ^[[:digit:]]+$ ]]
- + '[' 9 -ne 9 ']'
- + test false == true
- + return 0
- + local -r flag_print_help=false
- + shift
- + local -r flag_print_version=false
- + shift
- + local -r flag_print_about=false
- + shift
- + local -r application_name=WoeUSB
- + shift
- + local -r application_version=5.2.4
- + shift
- + local -r application_site_url=https://github.com/WoeUSB/WoeUSB
- + shift
- + local -r 'application_copyright_declaration=Copyright © Colin GILLE / congelli501 2013\nCopyright © slacka et.al. 2020'
- + shift
- + 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/'
- + shift
- + local -r program_name=woeusb
- + shift
- + '[' false == true ']'
- + '[' false == true ']'
- + '[' false == true ']'
- + printf -- '%s\n%s\n' 'WoeUSB v5.2.4' ==============================
- WoeUSB v5.2.4
- ==============================
- + check_superuser WoeUSB
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local -r application_name=WoeUSB
- + shift
- ++ id --user
- + '[' '!' 0 = 0 ']'
- + return 0
- + check_runtime_parameters install_mode source_media target_media 'Windows USB'
- + check_function_parameters_quantity 4 4
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=4
- + shift
- + local -i given_parameter_quantity=4
- + local failed=false
- + [[ 4 =~ ^[[:digit:]]+$ ]]
- + '[' 4 -ne 4 ']'
- + test false == true
- + return 0
- + local -n install_mode_ref=install_mode
- + shift
- + local -n source_media_ref=source_media
- + shift
- + local -n target_media_ref=target_media
- + shift
- + '[' '!' -f '/home/user/Downloads/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only/Windows_8.1 Professionall x64_3in1_RU_QuickStart_Only.iso' ']'
- + '[' -b /dev/sdc ']'
- + '[' device = device ']'
- + [[ /dev/sdc =~ .*[0-9] ]]
- + '[' device = partition ']'
- + return 0
- + determine_target_parameters device /dev/sdc target_device target_partition target_filesystem_type
- + check_function_parameters_quantity 5 5
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=5
- + shift
- + local -i given_parameter_quantity=5
- + local failed=false
- + [[ 5 =~ ^[[:digit:]]+$ ]]
- + '[' 5 -ne 5 ']'
- + test false == true
- + return 0
- + local install_mode=device
- + shift
- + local target_media=/dev/sdc
- + shift
- + local -n target_device_ref=target_device
- + shift
- + local -n target_partition_ref=target_partition
- + shift
- + local -n target_filesystem_type_ref=target_filesystem_type
- + shift
- + '[' device = partition ']'
- + target_device_ref=/dev/sdc
- + target_partition_ref=/dev/sdc1
- + '[' false = true ']'
- + return 0
- + 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
- + check_function_parameters_quantity 4 4
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=4
- + shift
- + local -i given_parameter_quantity=4
- + local failed=false
- + [[ 4 =~ ^[[:digit:]]+$ ]]
- + '[' 4 -ne 4 ']'
- + test false == true
- + return 0
- + local install_mode=device
- + shift
- + 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'
- + shift
- + local target_device=/dev/sdc
- + shift
- + local target_partition=/dev/sdc1
- + shift
- ++ mount
- ++ 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'
- + '[' 0 '!=' 0 ']'
- + '[' device = partition ']'
- + is_target_busy /dev/sdc
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local device=/dev/sdc
- + shift
- ++ mount
- ++ grep --count --fixed-strings /dev/sdc
- + '[' 1 -ne 0 ']'
- + return 0
- + print_error 'Target device is currently busy, unmount all mounted partitions in target device then try again\n'
- + printf_arguments=('Target device is currently busy, unmount all mounted partitions in target device then try again\n')
- + local -a printf_arguments
- + test 1 -eq 0
- + printf_with_color red 'ERROR: '
- + '[' 2 -lt 2 ']'
- + local -r color=red
- + shift
- + printf_parameters=('ERROR: ')
- + local -ar printf_parameters
- + '[' false == true ']'
- + switch_terminal_text_color red
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local -r color=red
- + shift
- + case "${color}" in
- + echo -en '\033[0;31m'
- + printf -- 'ERROR: '
- ERROR: + switch_terminal_text_color none
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local -r color=none
- + shift
- + case "${color}" in
- + tput sgr0
- + printf_with_color red 'Target device is currently busy, unmount all mounted partitions in target device then try again\n'
- + '[' 2 -lt 2 ']'
- + local -r color=red
- + shift
- + printf_parameters=('Target device is currently busy, unmount all mounted partitions in target device then try again\n')
- + local -ar printf_parameters
- + '[' false == true ']'
- + switch_terminal_text_color red
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local -r color=red
- + shift
- + case "${color}" in
- + echo -en '\033[0;31m'
- + printf -- 'Target device is currently busy, unmount all mounted partitions in target device then try again\n'
- Target device is currently busy, unmount all mounted partitions in target device then try again
- + switch_terminal_text_color none
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local -r color=none
- + shift
- + case "${color}" in
- + tput sgr0
- + exit 1
- + trap_exit
- + local flag_unclean=false
- + local flag_unsafe=false
- + '[' -n '' ']'
- + test false == true
- + test false == true
- + '[' false = true ']'
- + '[' false = true ']'
- + unset flag_unclean flag_unsafe
- + is_var_set_and_not_empty target_device
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local parameter_name=target_device
- + shift
- + '[' '!' -v target_device ']'
- + local -n parameter_ref
- + parameter_ref=target_device
- + '[' -z /dev/sdc ']'
- + return 0
- + is_target_busy /dev/sdc
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local device=/dev/sdc
- + shift
- ++ mount
- ++ grep --count --fixed-strings /dev/sdc
- + '[' 1 -ne 0 ']'
- + return 0
- + print_warning 'Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.\n'
- + printf_arguments=('Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.\n')
- + local -a printf_arguments
- + test 1 -eq 0
- + printf_with_color yellow 'Warning: '
- + '[' 2 -lt 2 ']'
- + local -r color=yellow
- + shift
- + printf_parameters=('Warning: ')
- + local -ar printf_parameters
- + '[' false == true ']'
- + switch_terminal_text_color yellow
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local -r color=yellow
- + shift
- + case "${color}" in
- + echo -en '\033[0;33m'
- + printf -- 'Warning: '
- Warning: + switch_terminal_text_color none
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local -r color=none
- + shift
- + case "${color}" in
- + tput sgr0
- + 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'
- + '[' 2 -lt 2 ']'
- + local -r color=yellow
- + shift
- + printf_parameters=('Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.\n')
- + local -ar printf_parameters
- + '[' false == true ']'
- + switch_terminal_text_color yellow
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local -r color=yellow
- + shift
- + case "${color}" in
- + echo -en '\033[0;33m'
- + printf -- 'Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.\n'
- Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.
- + switch_terminal_text_color none
- + check_function_parameters_quantity 1 1
- + '[' 2 -ne 2 ']'
- + local -i expected_parameter_quantity=1
- + shift
- + local -i given_parameter_quantity=1
- + local failed=false
- + [[ 1 =~ ^[[:digit:]]+$ ]]
- + '[' 1 -ne 1 ']'
- + test false == true
- + return 0
- + local -r color=none
- + shift
- + case "${color}" in
- + tput sgr0
- + rm --recursive /tmp/WoeUSB.tempdir.WpGkf5
- + return 0
- [user@linux-pc woeusb]$
Advertisement
Add Comment
Please, Sign In to add comment