On Wed, Mar 24, 2010 at 02:38:37PM +0800, Liu Aleaxander wrote: > From db1369223482779c0dd9b2da54905f06a24ef54d Mon Sep 17 00:00:00 2001 > From: Liu Aleaxander <Aleaxander@xxxxxxxxx> > Date: Wed, 24 Mar 2010 14:37:14 +0800 > Subject: [PATCH] mount: make the --offset option support hex number > > Sometimes the hex number makes more sense. Good point. Implemented. I have added a new strtosize() function to lib/. The function supports 2^N and 10^N suffixes (e.g. GiB, GB) and also hexadecimal numbers. This solution should be compatible with coreutils. This feature is supported in: losetup, wipefs, blkid and fallocate. I have also fixed strtoll() usage in mount and mkswap. For more details 'git pull' or http://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git Karel -- Karel Zak <kzak@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html