Re: Change output format of filefrag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux