Hello On Sun, 2004-11-21 at 02:00, Grzegorz Jaśkiewicz wrote: > On Thu, 18 Nov 2004 15:16:29 -0500, Jeff Mahoney <[EMAIL PROTECTED]> wrote: > > > If the filesystem is already established, you can't switch hashes. The > > hash is global to the filesystem, so if you were to change it, lookups > > would fail and you wouldn't be able to find any of your files. > > > > If you're creating a new filesystem, you can use the --hash argument to > > mkreiserfs. Under most circumstances, the filesystem code will > > automatically discover which hash you're using at mount time. > > Thanks, but the trick is that I would like to switch over existing > partition to other hash. > I know, I can copy over all data on side, and recreate partition from > scratch, but it's just way too painfull. It should be possible to do > this in much easier way. > So you say, that reiserfs doesn't store filenames in strucures, but > uses just hashes to lookup ? Shouldn't it be possible to go through > all structures on the partition, and recreate hashes, but using > different key function ? > I am prepared to spend some time,and do this.
I am afraid you will have to create a special tool to do this trick. If such tool does not exist - it is much easier to rehash using spare partition.
