All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Grzegorz Jaśkiewicz" <gryzman@gmail.com>
To: ReiserFS List <reiserfs-list@namesys.com>
Subject: Re: hashes in reiser3.6
Date: Sun, 21 Nov 2004 00:00:35 +0100	[thread overview]
Message-ID: <2f4958ff04112015003b0bca9e@mail.gmail.com> (raw)
In-Reply-To: <419D031D.9050807@novell.com>

On Thu, 18 Nov 2004 15:16:29 -0500, Jeff Mahoney <jeffm@novell.com> 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.

-- 
GJ

  reply	other threads:[~2004-11-20 23:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-18 19:45 hashes in reiser3.6 Grzegorz Jaśkiewicz
2004-11-18 20:16 ` Jeff Mahoney
2004-11-20 23:00   ` Grzegorz Jaśkiewicz [this message]
2004-11-25  9:03     ` Vladimir Saveliev
2004-11-28 19:30     ` Jeff Mahoney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2f4958ff04112015003b0bca9e@mail.gmail.com \
    --to=gryzman@gmail.com \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.