Re: File System conversion -- ideas

From: Matt Reuther (
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


MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:13 EST