Re: File System conversion -- ideas

From: Matt Reuther (mattreuther@hotmail.com)
Date: Tue Jul 01 2003 - 11:04:37 EST


It seems like the loopback device would be useful for this. You can move all
of you stuff into a mounted loopback device with the new fs. Is there not
some utility to take a filesystem image from inside an fs, and overwrite
that fs with it. It would be lots of sector-to-sector shuffling, but it
would be cleaner than trying to convert.

I guess you could try overlaying the old and new filesystems by virtualizing
the inodes, superblocks, directories, and other stuff in RAM, but you still
have to write it to disk, and some of the metadata from one fs will collide
with the other one. The superblock for ext2fs needs to written to several
fixed places on the filesystem, which might also be needed by
reiserfs/xfs/whatever.

Matt

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus

-
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 : Mon Jul 07 2003 - 22:00:13 EST