From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pat Double Subject: Re: where is the journal kept? Date: Mon, 15 Aug 2005 08:12:40 -0500 Message-ID: <200508150812.40382.pat@patdouble.com> References: <20050815115310.GA28630@tranquility.scriptkitchen.com> <20050815125025.GA29390@tranquility.scriptkitchen.com> <43009184.2080201@namesys.com> Reply-To: pat@patdouble.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <43009184.2080201@namesys.com> Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: reiserfs-list@namesys.com Stupid, question. I thought that reiser4 had no journal, it is transactional. If that's the case, why this option in debug.reiser4 : Usage: /sbin/debugfs.reiser4 [ options ] FILE Print options: -j, --print-journal prints journal. On Monday 15 August 2005 07:58 am, Vladimir V. Saveliev wrote: > Hello > > Payal Rathod wrote: > > On Mon, Aug 15, 2005 at 04:25:37PM +0400, Vladimir V. Saveliev wrote: > >>Each journaling filesystem keeps its journal by its own way. > >>In reiserfs by default journal is kept in statically pre-allocated on > >> mkfs time 8192 blocks (4096 bytes each) starting from 18-th block. > > > > Is it kept in some sort of file? > > No. That area of filesystem does not belong to any files stored on that > filesystem. You can read it from device directly: dd if=/dev/hda1 bs=4096 > count=8192. I am not sure that it can be of any interest, because you will > see just binary data. > > I mean can I see the file contents > > > using normal UNIX tools? If yes how do I do it? > > You can use > debugreiserfs -j /dev/hda1 /dev/hda1 > to see journal content. This will decode binary data into human readable > form. > > > With warm regards, > > -Payal -- Pat Double, pat@patdouble.com "In the beginning God created the heaven and the earth."