|
@ -814,14 +814,14 @@ sub create_filesystem { |
|
|
## Originally, this was -b 1024 switched with the inode approach. |
|
|
## Originally, this was -b 1024 switched with the inode approach. |
|
|
if (sys("$main::makefs $device $fs_size") !~ |
|
|
if (sys("$main::makefs $device $fs_size") !~ |
|
|
/^0$/ ) { |
|
|
/^0$/ ) { |
|
|
$error = error("Can not $fs_type filesystem."); |
|
|
$error = error("Cannot $fs_type filesystem."); |
|
|
return "ERROR" if $error && $error eq "ERROR"; |
|
|
return "ERROR" if $error && $error eq "ERROR"; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
if (sys("$main::makefs $device $fs_size") !~ |
|
|
if (sys("$main::makefs $device $fs_size") !~ |
|
|
/^0$/ ) { |
|
|
/^0$/ ) { |
|
|
$error = error("Can not $fs_type filesystem."); |
|
|
$error = error("Cannot $fs_type filesystem."); |
|
|
return "ERROR" if $error && $error eq "ERROR"; |
|
|
return "ERROR" if $error && $error eq "ERROR"; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -990,7 +990,7 @@ sub create_filesystem { |
|
|
if ( |
|
|
if ( |
|
|
sys("/usr/lib/bootroot/$main::makefs -b $fs_size -d $mount_point -D $device_table $device") !~ |
|
|
sys("/usr/lib/bootroot/$main::makefs -b $fs_size -d $mount_point -D $device_table $device") !~ |
|
|
/^0$/ ) { |
|
|
/^0$/ ) { |
|
|
$error = error("Can not $fs_type filesystem."); |
|
|
$error = error("Cannot $fs_type filesystem."); |
|
|
return "ERROR" if $error && $error eq "ERROR"; |
|
|
return "ERROR" if $error && $error eq "ERROR"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|