delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/27/17:05:06

X-Spam-Check-By: sourceware.org
Date: Mon, 27 Nov 2006 17:04:48 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: NTFS fragmentation redux
Message-ID: <20061127220448.GA16091@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <456133E5 DOT 8000509 AT tlinx DOT org> <200611201252 DOT 31836 DOT vdergachev AT rcgardis DOT com> <4569060F DOT 3010507 AT tlinx DOT org> <200611271425 DOT 00568 DOT vdergachev AT rcgardis DOT com>
Mime-Version: 1.0
In-Reply-To: <200611271425.00568.vdergachev@rcgardis.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Nov 27, 2006 at 02:25:00PM -0500, Vladimir Dergachev wrote:
>On Saturday 25 November 2006 10:12 pm, Linda Walsh wrote:
>> Vladimir Dergachev wrote:
>> > This is curious - how do you find out fragmentation of ext3 file ? I do
>> > not know of a utility to tell me that.
>>
>> ---
>> 	There's a debugfs for ext2/ext3 that allows you to dump all of the
>> segments associated with an inode.  "ls -i" dumps the inode number.
>> A quick hack (attached) displays segments for either extX or (using
>> xfs_bmap) xfs. I couldn't find a similar tool for jfs or reiser (at least
>> not in my distro).
>>
>
>Cool, thank you !
>
>fragfilt.ext does not quite work for me. Also, looking at the code, it is not 
>obvious whether it takes indirect blocks into account - but I am not that 
>fluent in perl, so, perhaps I missed it.
>
>Here is a piece of output from my debugfs:
>
>....
>(IND):118948480, (898060-898435):118948488-118948863, 
>(898436-898660):118949376-118949600, (898661-899083):118949612-118950034, 
>(IND):118950035, (899084-900107):118950036-118951059, (IND):118951060, 
>(900108-901131):118951061-118952084, (IND):118952085, 
>(901132-902155):118952086-118953109, (IND):118953110, 
>(902156-902741):118953111-118953696, (902742-903179):118953701-118954138, 
>(IND):118954139, (903180-903760):118954140-118954720, 
>(903761-904203):118955745-118956187, (IND):118956188, 
>(904204-904783):118956189-118956768, (904784-905227):118957813-118958256, 
>(IND):118958257, (905228-906251):118958258-118959281, (IND):118959282, 
>(906252-906760):118959283-118959791

I was hoping that this discussion about ext3 would die a natural death but
it looks like I have to make the observation that this really has nothing
to do with Cygwin.

Please take this somewhere else.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019