On Sep 06, 2009 13:39 +0000, Florian Weimer wrote: > The FIBMAP ioctl requires CAP_SYS_RAWIO, but FIEMAP doesn't. Why's > that? Is it that there is no backwards-compatible way to introduce > locking on the bmap path? I'm not sure why there is a root-only requirement for FIBMAP, but the FIEMAP data is definitely useful even for non-root users for many reasons, such as optimized file copies/rsync/tar/etc skipping holes in sparse files easily. If you are implementing a tool to use this, I would code it to try FIEMAP first, then FIBMAP (if it is running as root, or it gets fixed in some future kernel), then just do without (as it most likely does already today). Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html