|
From: | Pádraig Brady |
Subject: | bug#6131: [PATCH]: fiemap support for efficient sparse file copy |
Date: | Fri, 21 May 2010 14:46:57 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
On 21/05/10 13:59, Jim Meyering wrote: > Pádraig Brady wrote: >> There is the unlikely combination of ext4 without fiemap support I think? >> If so then that dependency is worth a comment. > > I don't know off hand. > Is there a shell-level way to test for that? One could check if <linux/fiemap.h> is available, but that would add the dependency on kernel-headers being installed. Alternatively one could skip the test on non linux and linux < 2.6.27 But requiring ext4 is probably good enough to limit this to systems that actually do have fiemap available. Adding a comment about linux >= 2.6.27 might help us quickly eliminate false positives that are reported. cheers. Pádraig.
[Prev in Thread] | Current Thread | [Next in Thread] |