lkml.org 
[lkml]   [2003]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: File System conversion -- ideas
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.024 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site