Skip to content

Commit

Permalink
src/woeusb: Rename check_fat32_filesize_limitation
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
  • Loading branch information
brlin-tw committed May 8, 2018
1 parent 805d04f commit 2a410bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/woeusb
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ init(){
fi

if [ "${target_filesystem_type}" == 'FAT' ]; then
if ! check_for_big_files\
if ! check_fat32_filesize_limitation\
"${source_fs_mountpoint}"; then
exit 1
fi
Expand Down Expand Up @@ -1101,7 +1101,7 @@ workaround_buggy_motherboards_that_ignore_disks_without_boot_flag_toggled(){
}; declare -fr workaround_buggy_motherboards_that_ignore_disks_without_boot_flag_toggled

## Check every file in source directory for files bigger than max fat32 file size (~4GB)
check_for_big_files(){
check_fat32_filesize_limitation(){
util_check_function_parameters_quantity 1 $#
local -r source_fs_mountpoint="${1}"
local IFS_backup=$IFS
Expand All @@ -1118,7 +1118,7 @@ check_for_big_files(){
IFS=$IFS_backup
unset IFS_backup
return 0
}; declare -fr check_for_big_files
}; declare -fr check_fat32_filesize_limitation

## Check target partition for potential problems before mounting them for --partition creation mode as we don't know about the existing partition
## target_partition: The target partition to check
Expand Down

0 comments on commit 2a410bf

Please sign in to comment.