e0ed7404719a9ddd2ba427a80db5365c8bad18c0 |
|
20-Mar-2014 |
JP Abgrall <jpa@google.com> |
Switch back to 1.42.9 now that there is a fix Revert "Revert changes that moved from 1.41.14 to 1.42.9" This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
/external/e2fsprogs/misc/filefrag.c
|
65f0aab98b20b5994a726ab90d355248bcddfffd |
|
06-Mar-2014 |
JP Abgrall <jpa@google.com> |
Revert changes that moved from 1.41.14 to 1.42.9 Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H" commit e80e74c41d85ff93f3d212ba6512340f48054a93. Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master" This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Revert "Prepare for upstream 1.42.9" This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Bug: 13340735 Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8 Signed-off-by: JP Abgrall <jpa@google.com>
/external/e2fsprogs/misc/filefrag.c
|
18a1444b4f1e6a0948fd38fa0de382d86cfe04de |
|
31-Dec-2013 |
Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> |
Add files that would normally be generated by the e2fsprogs build system Android doesn't run ./configure and friends, so it has to rely on pre-populated versions of the autogenerated files. This is somewhat bogus (e.g. hardcoded little-endian reference in lib/ext2fs/ext2_types.h) and should at some point be fixed, but it's what Android has always done, not a regression from the 1.41.14 branch. Also, don't #include config.h which we don't generate (we pass what it usually contains as -D parameters from Android.mk) anywhere. Add a new Android.mk file for the quota library. Change-Id: I162c6327fee5bd06261d9cdcc34bda10f04a6f21 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/external/e2fsprogs/misc/filefrag.c
|
e39082e2e81641eb8021eb6ddc969731537c79a8 |
|
12-Dec-2013 |
Darrick J. Wong <darrick.wong@oracle.com> |
misc: don't leak file descriptors (on error paths) Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
577c773a60fa7d167f5aaf717fadd20fe507fb97 |
|
20-May-2013 |
Theodore Ts'o <tytso@mit.edu> |
misc: fix gcc -Wall warnings Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
e3507739e4185bdb2394928eb6479e48f4e690a8 |
|
01-Jan-2013 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall nits This fixes the last set of gcc -Wall complaints. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
2508eaa71e8bbe93155052ded448e5e78d213715 |
|
22-Nov-2012 |
Andreas Dilger <adilger@whamcloud.com> |
filefrag: improvements to filefrag FIEMAP handling Update the filefrag program to allow displaying the extents in some different formats. Try and stay within 80 columns. * add -k option to print extents in kB-sized units (like df -k) * add -b {blocksize} to print extents in blocksize units * add -e option to print extent format, even when FIBMAP is used * add -X option to print extents in hexadecimal format Internally, the FIBMAP handling code has been moved into its own function like FIEMAP, so that the code is more modular. Extent offsets are now handled in bytes instead of in blocks, to allow printing extents with arbitrary block sizes. The extent header printing also moved into its own function so that it can be shared between the FIEMAP and FIBMAP handling routines, since it got more complex with the different output options. Only print error about FIBMAP being root-only a single time. Print the filesystem type if it changes between specified files. Add fsync() for FIBMAP if "-s" is given. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
00eb0eee0addfd3b7ede98b85e00dff1547838a0 |
|
29-Nov-2012 |
Andreas Dilger <adilger@dilger.ca> |
build: quiet some "gcc -Wall" compiler warnings Quiet a number of simple compiler warnings: - pointers not initialized by ext2fs_get_mem() - return without value in non-void function - dereferencing type-punned pointers - unused variables Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
339e457939bf1663ac2dbd52e47cd6e145726771 |
|
28-Jul-2012 |
Eric Sandeen <sandeen@redhat.com> |
filefrag: fix segfault on virtual fs filefrag on a virtual fs like proc segfaults: Floating point exception because stat.f_blocks is 0, so the calculation of cylgroups is 0, which leads to a divide by 0 when calculating expected extents. Since it's only used for ext2 filesystems anyway, just move the calculation of expected under "if (is_ext2)" to fix this. Reported-by: Max Beikirch <maxnet@onlinehome.de> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
036fda6d487737eac9be086d999b7480a81d37ea |
|
28-Jul-2012 |
Liu Bo <liubo2009@cn.fujitsu.com> |
filefrag: fix report of number of extents filefrag has several bugs: 1. $ touch f1 $ filefrag f1 f1: 1 extent found ----> bug! $ filefrag -v f1 Filesystem type is: ef53 File size of f1 is 0 (0 blocks, blocksize 4096) f1: 0 extents found 2. $ truncate -s 1m f2 $ filefrag f2 f2: 1 extent found ----> bug! $ filefrag -v f2 Filesystem type is: ef53 File size of f2 is 1048576 (256 blocks, blocksize 4096) f2: 0 extents found 3. $ for i in `seq 11 -2 0`; do dd if=/dev/zero of=f4 bs=4k count=1 seek=$i conv=notrunc oflag=sync &>/dev/null; done $ ll f4 -rw-r--r-- 1 root root 49152 Jun 9 15:09 f4 $ filefrag f4 f4: 7 extents found $ filefrag -v f4 Filesystem type is: ef53 File size of f4 is 49152 (12 blocks, blocksize 4096) ext logical physical expected length flags 0 1 1109993 1 1 3 1109992 1109994 1 2 5 1109991 1109993 1 3 7 1109990 1109992 1 4 9 1109989 1109991 1 5 11 1108207 1109990 1 eof f4: 7 extents found -----------------------> but we only have 6 extents, bug! All of these bugs come from the fact that we've made a mistake on calculating total extents: o we set 1 as default for 'total extents', and this will report 1 extent found even when we don't get any extent from fiemap. o if our first extent does not start from 0(logical addr), total extents will be one more than what it should be. Addresses-Red-Hat-Bugzilla: #840848 Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
605cf6edaf6fce6a3810cda24c6ceca90af1a096 |
|
10-Oct-2011 |
Theodore Ts'o <tytso@mit.edu> |
filefrag: fix infinite loop in filefrag Commit a00be17e4768 was missing a patch hunk needed to prevent filefrag from looping forever when it is run without the -v option. Addresses-Debian-Bug: #644792 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
9c58eaf7d3a47d83945bd3756271e7ae675b25e1 |
|
01-Oct-2011 |
Theodore Ts'o <tytso@mit.edu> |
filefrag: fix an off by one error in when printing the next expected block Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
a00be17e4768c5ce55f74be518f35f5d5d1b158b |
|
01-Oct-2011 |
Theodore Ts'o <tytso@mit.edu> |
filefrag: Display the number of contiguous, not physical, extents From a bug report filed by Ibragimov Rinat: When filefrag uses FIEMAP ioctl its logic differs for ordinary and verbose (-v) modes. ext4 returns extent on every 32768 block so on large files it is possible that `filefrag large-file' tells about 4 extents while `filefrag -v large-file' finds only one. Also when I tried to use generic_block_fiemap function to add FIEMAP for reiserfs, every block was reported as a new extent resulting in thousands "extents" for continuous files. I think filefrag should merge adjacent extents even when -v is not specified. Addresses-Debian-Bug: #631498 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
d1154eb460efe588eaed3d439c1caaca149fa362 |
|
18-Sep-2011 |
Theodore Ts'o <tytso@mit.edu> |
Shorten compile commands run by the build system The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and this was starting to cause some tools heartburn. It also made "make V=1" almost useless, since trying to following the individual commands run by make was lost in the noise of all of the defines. So fix this by putting the configure-generated defines in lib/config.h and the directory pathnames to lib/dirpaths.h. In addition, clean up some vestigal defines in configure.in and in the Makefiles to further shorten the cc command lines. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
1e003cc77d43ee01eeaae962ff6d264c9a74a363 |
|
16-Sep-2011 |
Eric Sandeen <sandeen@redhat.com> |
filefrag: Fix uninitialized "expected" value The "count" variable is only ever set if FIBMAP is used, due to the -B switch, or a fiemap failure. However, we use it unconditionally to calculate "expected" for extN files, so we can end up printing garbage. Initialize count to 0, and unless we go through the FIBMAP path, expected will be 0 as well, and in that case do not print the message. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
b18c5fd51e829e5fb1a434604d4373409379744b |
|
08-May-2011 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next
|
a8d8432b584c222dc7960c15cd7b9acbc7c72352 |
|
05-May-2011 |
Eric Sandeen <sandeen@redhat.com> |
filefrag: count 0 extents properly when verbose /boot/a: 0 extents found works properly, but Filesystem type is: ef53 Filesystem cylinder groups is approximately 61 File size of a is 0 (0 blocks, blocksize 1024) ext logical physical expected length flags a: 1 extent found yields 1 extent when it should be 0. Fix this up by special-casing no extents returned in verbose mode; skip printing the header for the columns too, since there are no columns to print. Also, in nonverbose mode we can set fm_extent_count to 0 so that FIEMAP will just query the extent count without gathering details; clarify this with a comment. Addresses-RedHat-Bugzilla: 653234 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
616f68bf773440d6b6af4fb91c5cde6f74e5e659 |
|
11-Feb-2011 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next
|
b637f8e7ed4309ec39d87ea0cf07f48fc0610266 |
|
01-Feb-2011 |
Jim Meyering <meyering@redhat.com> |
filefrag: remove useless assignment The very next one memset's all bytes of fiemap to 0. Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
2d07b3ad98bfe1db5fb1071f53a5338ab6c35522 |
|
31-Jan-2010 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: configure lib/ext2fs/alloc_tables.c misc/mke2fs.c
|
ca92d98f0afa6e79dff672923b96cbc2274449be |
|
28-Nov-2009 |
Theodore Ts'o <tytso@mit.edu> |
filefrag: Fix a core dump on sparc32 platforms with 8k file systems On 32-bit platforms where the file system block size is 8k or greater, the calculation bpib*bpib*bpib* will overflow a 32-bit calculation, leading to a divide by zero error. Fix this. Thanks to Mikulas Patocka for pointing this out. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
334cfccbca2a37a3d8db16761fb90431f69e6030 |
|
06-Aug-2009 |
Eric Sandeen <sandeen@redhat.com> |
filefrag: don't print extent header on bmap fallback The extent list header gets printed before we fall back to bmap: # filefrag -v /mnt/test/bar Filesystem type is: 58465342 File size of /mnt/test/bar is 12288 (3 blocks, blocksize 4096) ext logical physical expected length flags <---- HERE Discontinuity: Block 2 is at 17 (was 16) /mnt/test/bar: 2 extents found so delay printing it until we know fiemap is working. (though ideally it'd be nice to have the same verbose output regardless of the interface we used, I think). Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
1f3d16deaa11681323b8278bec9b48fee2898e4b |
|
06-Aug-2009 |
Eric Sandeen <sandeen@redhat.com> |
filefrag: fix frag count in bmap case The fragmentation count in the bmap case seems to be off by one: /mnt/test/bar: 0 extents found Addresses-Debian-Bug: #540376 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
5d5e01d7e0549aea6a86b504e8424c891db86b8e |
|
16-Aug-2009 |
Theodore Ts'o <tytso@mit.edu> |
filefrag: Add option to force use of the FIBMAP ioctl Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
1d72214658d339bd4725fe74aa42397df419e914 |
|
22-Aug-2009 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next
|
88fca201aca752cbb7a981e1fe1b2a875cc29833 |
|
22-Aug-2009 |
Theodore Ts'o <tytso@mit.edu> |
Move declaration of FS_IOC_FIEMAP ioctl to fiemap.h This helps e4defrag compile on systems where the system header files don't yet define FS_IOC_FIEMAP. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
bbbb81c1d9277e9fadce42934c2b1cf7bc9a97d5 |
|
15-Jul-2009 |
Eric Sandeen <sandeen@redhat.com> |
filefrag: fix it so it works in the bmap fallback case. It looks like some debugging crept in? Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
9d4bade4ac211e9140e1da93b906c0025336eaef |
|
12-Jul-2009 |
Theodore Ts'o <tytso@mit.edu> |
filefrag: Restore "perfect" number of extents calculation for ext2/ext3 The FIEMAP support added in e2fsprogs 1.41.6 broke the "perfection would be XXX expects" calculation restore it. Also fix some gcc -Wall warnings as well. (Cleaning up gcc -Wall is what caused me to notice this regression). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
f97ea10fde6d8bee670d388f02cf9524b8f2d7da |
|
02-Jul-2009 |
Peng Tao <bergwolf@gmail.com> |
filefrag: fix fm_start in filefrag_fiemap loop When used with -v and the targeted file has more than 144 extents(double of the length of fm_extents array provided by buf), filefrag_fiemap loops and calls fiemap ioctl() multiple times to calculate the actual number of extents in a file. Each call to fiemap ioctl() uses fm_start as the starting logical offset. The patch fixes fm_start in each loop( except for the first one) and makes the extent calculation correct for files with more that 144 extents. To produce the problem, first run filefrag -v on a highly fragmented file. Then change the buf size in filefrag_fiemap to make it large enough to have all the extent mapped in a single loop and run filefrag -v after recompiling. The former will produce a much smaller extent count because of the false fm_start used in the loop. And the two will produce different extent output since the 145th extent. Signed-off-by: Peng Tao <bergwolf@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
e78968f7a42fb1fa75c356dd323d957b307b887f |
|
02-Jun-2009 |
Theodore Ts'o <tytso@mit.edu> |
filefrag: Fix error checking for the fiemap ioctl Thanks to Peng Tao for reporting this problem. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
e62847c5db56ebdab8446defd718ec42e6b48cac |
|
03-May-2009 |
Kalpak Shah <kalpak.shah@sun.com> |
filefrag: Add support to use the FIEMAP ioctl The FIEMAP ioctl is more efficient and doesn't require root privileges. So if it is available, use it in preference to repeated FIBMAP calls. Signed-off-by: Kalpak Shah <kalpak.shah@sun.com> Signed-off-by: Andreas Dilger <adilger@sun.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
a8fbdc09507c28510899eee408e6b11b3009c6c3 |
|
01-Sep-2008 |
Theodore Ts'o <tytso@mit.edu> |
filefrag: Fix calculation of ideal number of extents Fix calculation of the ideal number of extents needed for a file to take into account sparse files. In addition, suppress the "this file is extent-based" message unless verbose mode is enabled. Addresses-Debian-Bug: #458306 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
efc6f628e15de95bcd13e4f0ee223cb42115d520 |
|
28-Aug-2008 |
Theodore Ts'o <tytso@mit.edu> |
Remove trailing whitespace for the entire source tree Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
de8f3a76218255e443ba57dec5d74850180fa75d |
|
25-May-2007 |
Andreas Dilger <adilger@clusterfs.com> |
Fix gcc -Wall warnings, especially on 64-bit systems Signed-off-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
642935c082ca22e1186fc9926fe06e4207d5ab56 |
|
15-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
Fix misc. gcc -Wall complaints in the misc and e2fsck directories Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
69022e029f3273b3b860bf701219cd3fe615f76b |
|
30-Aug-2006 |
Theodore Ts'o <tytso@mit.edu> |
Fix potential 2**32-1 overflow problems by ext2fs_div_ceil() Add a new function, ext2fs_div_ceil(), which correctly calculates a division of two unsigned integer where the result is always rounded up the next largest integer. This is used everywhere where we might have previously caused an overflow when the number of blocks or inodes is too close to 2**32-1. Based on patches from Eric Sandeen, but generalized to use this new function Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Eric Sandeen <esandeen@redhat.com>
/external/e2fsprogs/misc/filefrag.c
|
8fe81a3d53fbaa1670ece5fb7fd11dd5ae45b8da |
|
06-Aug-2006 |
Andreas Dilger <adilger@clusterfs.com> |
Rename EXT3_EXTENTS_FL to EXT4_EXTENTS_FL and make it visible to the user lsattr will display the EXT4_EXTENTS_FL flag Signed-off-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
9c07dc00b8ea175aa1446868b5cca5a21b41aecf |
|
29-May-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add missing backwards compatibility for ancient Linux systems This fixes some (but not all) of the compatibility bugs which prevented e2fsprogs from being compiled on a Linux 2.0.35 system. There are still some unprotected use of long long's, and apparently some type problems with the uuid library, but these can be fixed up later. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
40198dd0bbf494c36881155e4227923cfe00abe6 |
|
22-Apr-2006 |
Theodore Ts'o <tytso@mit.edu> |
Fix filefrag to be 32-bit clean Currently filefrag uses signed int for block numbers, thus it reporting corrupted block number for a file on a more than 8TB ext3. The following trivial patch replace the signed int type block number with "unsigned long type. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
9b9a780f5a5823865f62f0c9fd194d262f63a06f |
|
11-Dec-2005 |
Theodore Ts'o <tytso@mit.edu> |
Fix various gcc -Wall complaints. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/filefrag.c
|
8198e7912663eb13680391979bfb6177f478e9e0 |
|
21-May-2005 |
Theodore Ts'o <tytso@mit.edu> |
filefrag.c (frag_report, get_bmap): The FIBMAP and FIGETBSZ ioctls return an integer, not an unsigned long. Fix this to avoid problems on 64-bit platforms where the size of an integer != the size of a long. (Addresses Debian Bug #309655)
/external/e2fsprogs/misc/filefrag.c
|
bfd9762de631e312c3d982ca7389fcd06547b581 |
|
06-May-2005 |
Theodore Ts'o <tytso@mit.edu> |
Fix a bug in filefrag so that it doesn't when the first block found is an indirect block, it doesn't falsely count an extra discontunity. (Addresses Debian Bug #307607).
/external/e2fsprogs/misc/filefrag.c
|
a4897d41c2e75c78521d3ddd07f76f76c66d7214 |
|
09-Apr-2005 |
Theodore Ts'o <tytso@mit.edu> |
Don't abort filefrag if EXT3_IOC_GETFLAGS ioctl is not supported, so that filefrag can work on non-ext2/3 filesystems, as advertised. (Addresses Debian Bug: #303509)
/external/e2fsprogs/misc/filefrag.c
|
3d16b3f4bbb4c1f43a442e303658a7a50320c40a |
|
19-Mar-2005 |
Theodore Ts'o <tytso@mit.edu> |
filefrag.c (frag_report): Automatically detect files that are stored using the new experimental file fragments format, and use the non-ext2 algorithm for determing the number of extents. Avoid reporting a false discontinuity if there is a non-allocated block (or extent) at the beginning of the file.
/external/e2fsprogs/misc/filefrag.c
|
7f1faaa48259fe8fe99064b1fceaa765e38bfc9b |
|
04-Feb-2005 |
Theodore Ts'o <tytso@mit.edu> |
filefrag.c (frag_report): In verbose mode, print the first and last block numbers; may be useful for some folks.
/external/e2fsprogs/misc/filefrag.c
|
0aa0e0c7d622f5b6c9b4150cee705b8c1dfe5bd0 |
|
20-Jan-2005 |
Theodore Ts'o <tytso@mit.edu> |
filefrag.c (frag_report): Fix filefrag so that it works correctly with sparse files; unallocated blocks should not be treated as a discontinuity.
/external/e2fsprogs/misc/filefrag.c
|
9290404ea7b135a1a0cc8d6518395e9a768087bf |
|
17-Jan-2005 |
Theodore Ts'o <tytso@mit.edu> |
Applied patch from Francois Petillon (fantec at proxad.net) to avoid a file descriptor leak in the filefrag program.
/external/e2fsprogs/misc/filefrag.c
|
6b394c1cd36f5aef40d9b17fa0b76cf0a9fd3cc6 |
|
27-Feb-2004 |
Theodore Ts'o <tytso@mit.edu> |
filefrag.c: Fix gcc -Wall nits.
/external/e2fsprogs/misc/filefrag.c
|
d605ba11ab86a0a5885a82c842f649a438ac179d |
|
04-Feb-2004 |
Theodore Ts'o <tytso@mit.edu> |
filefrag.c: Use #ifdef __linux__ instead of __LINUX__ so that it actually compiles on Linux. (Addresses Debian bug #230992)
/external/e2fsprogs/misc/filefrag.c
|
b34cbddbd66baedc163d36dd281b63ef478f547a |
|
28-Dec-2003 |
Matthias Andree <matthias.andree@gmx.de> |
Re-add FreeBSD support. Tested on FreeBSD 5.2-CURRENT as of 2003-12-28. Tested on FreeBSD 4.9-STABLE as of 2003-12-27.
/external/e2fsprogs/misc/filefrag.c
|
aa3a2fe49a7f2fed1c945e2ad4b858b39a4e0a7b |
|
21-Dec-2003 |
Matthias Andree <matthias.andree@gmx.de> |
Trivial warning fixes.
/external/e2fsprogs/misc/filefrag.c
|
9642413014c0c037339c392cdc20343c4e80f079 |
|
17-Dec-2003 |
Theodore Ts'o <tytso@mit.edu> |
Initial checkin of the filefrag program, which reports on how badly fragmented a file might be.
/external/e2fsprogs/misc/filefrag.c
|