Re: reiserfs4

From: Matthias Schniedermeyer (ms@citd.de)
Date: Thu Aug 07 2003 - 11:31:14 EST


On Thu, Aug 07, 2003 at 06:25:44PM +0400, Oleg Drokin wrote:
> Hello!
>
> On Thu, Aug 07, 2003 at 04:23:12PM +0200, Matthias Schniedermeyer wrote:
> > > > There is sort of "universal" fs convertor for linux that can convert almost
> > > > any fs to almost any other fs.
> > > > The only requirement seems to be that both fs types should have read/write support in Linux.
> > > > http://tzukanov.narod.ru/convertfs/
> > > I'm afraid I cannot recommend using this tool.
> > > A test conversion from reiserfs to ext3 (inside a vmware machine)
> > > screwed up the data real horrorshow: directory structure seems
> > > ok but file contents are apparently shifted.
> > That answers the question that poped up in my mind.
> > "How does the tool know where the blocks are, and in which order it can
> > 'move' then without corrupting the data.(*)
>
> Well, there is FIBMAP ioctl that does this.
>
> > Seems it doesn't know it.
>
> It does. And our tests were more succesful, I believe.
>
> > But it is possibel(*2) to do what the programm wants to do, you only
> > have to find out the order in which you have to copy the blocks to
> > prevent garbage. That's all the magic.
>
> Sure.

Ups. Seems i am wrong, i "grep"ed for FIBMAP and the tool uses it. So i
guess the tool should be able to do everything correctly.

I take everything back and claim the opposite. :-)
(german idiom. "Ich nehm alles zurueck und behaupte das Gegenteil")

Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:39 EST