On Aug 14, 2007  18:42 +0530, Kalpak Shah wrote:
> I think an output format similar to that of xfs may be better. This is
> easier for parsing as well. Like this:
> 
> $ filefrag -e {filename}
> 
> ext:    logical:   phys start..end kB:  kB :lun: flags
>   0:   [0..151]: 288444888..288445039: 152 : 0 :
>   1: [152..199]: XXXXXXXX..YYYYYYYYYY:  47 : 0 : hole
>   2: [200..299]: MMMMMMMM..NNNNNNNNNN: 100 : 0 : unwritten, unknown
> 
> Please suggest if this is ok.

Yes, but please include the filename in the output as the first line,
filename:
ext:    logical: ...


Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to