Mail Archives: cygwin/2006/11/27/17:05:06
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 -