From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 651 invoked by alias); 16 Jul 2007 23:16:35 -0000 Received: (qmail 626 invoked by uid 9582); 16 Jul 2007 23:16:35 -0000 Date: Mon, 16 Jul 2007 23:16:00 -0000 Message-ID: <20070716231635.625.qmail@sourceware.org> From: rpeterso@sourceware.org To: cluster-cvs@sources.redhat.com Subject: cluster/gfs2/edit gfs2hex.c hexedit.c hexedit. ... Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00063.txt.bz2 CVSROOT: /cvs/cluster Module name: cluster Changes by: rpeterso@sourceware.org 2007-07-16 23:16:35 Modified files: gfs2/edit : gfs2hex.c hexedit.c hexedit.h savemeta.c Log message: I added the ability to recurse indirect blocks. That means that you can now print a list of all blocks associated with a file. For example, you could print all block numbers associated with journal0 by doing something like: gfs2_edit -p 0x19 /dev/roth_vg/roth_lv assuming, of course, that you know that block 0x19 contains journal0. (You can use gfs2_edit -p jindex to get that information though). I fixed some bugs with restoremeta where it was dying if the metadata to be restored was bigger than the destination file system could hold. I made restoremeta do some "warm fuzzy stuff" to report its progress of the restore operation so the user doesn't think the restoremeta is permanently hung. I renamed some long variable names to short ones to make the code less wordy. I fixed a minor segfault if you hit "j" when your cursor is on the block number of the hex view. I probably should have committed these changes earlier rather than save them up, but some of my changes had serious regressions and I didn't have time to sort it out and fix it until just now (I didn't want to commit a broken version to cvs.) Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/gfs2hex.c.diff?cvsroot=cluster&r1=1.10&r2=1.11 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/hexedit.c.diff?cvsroot=cluster&r1=1.16&r2=1.17 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/hexedit.h.diff?cvsroot=cluster&r1=1.9&r2=1.10 http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/savemeta.c.diff?cvsroot=cluster&r1=1.1&r2=1.2