[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ext3 root partitions bad?

On Thu, 2003-01-09 at 09:52, Nathan E Norman wrote:
> Hello,
> It's my understanding that SILO cannot handle a dirty ext3 root
> partition as it really only understands ext2.  Is this correct?  If
> so, I think the sparc install docs should mention that at least your
> root should be ext2; ext3 (or some other fs) is ok for the rest of
> your partitions.

Attached is a patch to allow SILO to handle a dirty ext3 root partition.

I'm pretty sure Ben C. has seen this already.

Tom "spot" Callaway <tcallawa(a)redhat*com> (SAIR LCA, RHCE)
GPG: D786 8B22 D9DB 1F8B 4AB7  448E 3C5E 99AD 9305 4260
Red Hat Sales Engineer :: http://www.redhat.com
Aurora SPARC Linux Project Leader :: http://www.auroralinux.org

The words and opinions reflected in this message do not necessarily
reflect those of my employer, Red Hat, or my project, Aurora 
SPARC Linux and belong solely to me.

Save Firefly! :: http://www.fireflysupport.com/ :: Keep Flying!
--- second/fs/ext2.c.old	Mon Jan 28 03:43:50 2002
+++ second/fs/ext2.c	Mon Jan 28 03:45:01 2002
@@ -42,14 +42,14 @@
-    printf ("Unknown ext2 error");
+    printf ("Unknown ext2 error: %d", errcode);
 static int open_ext2 (char *device)
     int retval;
-    retval = ext2fs_open (device, EXT2_FLAG_RW, 0, 0, silo_io_manager, &fs);
+    retval = ext2fs_open (device, EXT2_FLAG_DIRTY, 0, 0, silo_io_manager, &fs);
     if (retval == EXT2_ET_BAD_MAGIC)
         return 0;
     if (retval) {

Reply to: