From d87f6a9cddeea3b914def7ba415534299a43e28a Mon Sep 17 00:00:00 2001 From: freesource Date: Tue, 5 Mar 2002 19:04:02 +0000 Subject: [PATCH] Added the correct options for mkfs.jffs. --- expect_uml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expect_uml b/expect_uml index 9ff614f..d27df8a 100755 --- a/expect_uml +++ b/expect_uml @@ -145,10 +145,10 @@ elsif ( $filesystem =~ /^mkfs\.jffs/ ) { $uml->command("umount /mnt2"); $uml->command("mount -t hostfs none -o $jffs_dir /mnt2"); if ( $filesystem =~ /^mkfs\.jffs\s*$/ ) { - $uml->command("mkfs.jffs2 -r /mnt1 -o /mnt2/$jffs2_name -e 0x20000 -p"); + $uml->command("mkfs.jffs -d /mnt1 -o /mnt2/$jffs2_name -e 0x20000"); } else { - $uml->command("$filesystem -r /mnt1 -o /mnt2/$jffs2_name"); + $uml->command("$filesystem -d /mnt1 -o /mnt2/$jffs2_name"); } }