Some misc. changes.

This commit is contained in:
freesource
2001-11-01 04:20:25 +00:00
parent c7eac0edfe
commit 5a8621791a
3 changed files with 5 additions and 8 deletions
+3 -3
View File
@@ -814,14 +814,14 @@ sub create_filesystem {
## Originally, this was -b 1024 switched with the inode approach.
if (sys("$main::makefs $device $fs_size") !~
/^0$/ ) {
$error = error("Can not $fs_type filesystem.");
$error = error("Cannot $fs_type filesystem.");
return "ERROR" if $error && $error eq "ERROR";
}
} else {
if (sys("$main::makefs $device $fs_size") !~
/^0$/ ) {
$error = error("Can not $fs_type filesystem.");
$error = error("Cannot $fs_type filesystem.");
return "ERROR" if $error && $error eq "ERROR";
}
}
@@ -990,7 +990,7 @@ sub create_filesystem {
if (
sys("/usr/lib/bootroot/$main::makefs -b $fs_size -d $mount_point -D $device_table $device") !~
/^0$/ ) {
$error = error("Can not $fs_type filesystem.");
$error = error("Cannot $fs_type filesystem.");
return "ERROR" if $error && $error eq "ERROR";
}
-3
View File
@@ -276,9 +276,6 @@ sub file_system {
# Editor and execute options
label("Filesystem Command:",0,1,0,1,$table_filesystem);
my $fs1 = entry(1,3,0,1,2,$table_filesystem);
if ( $> != 0 && -e "/usr/lib/bootroot/genext2fs" ) {
$main::makefs = "genext2fs -i8192";
}
$fs1->set_text($main::makefs);
$table_filesystem->set_row_spacing( 0, 2);