On Sun, May 20, 2012 at 06:11:29PM +0200, Davidlohr Bueso wrote: > +static unsigned long long get_dev_sz(char *dev) It's number of blocks (1024-bytes) rather than size, what about get_dev_blocks() or so... Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html