Messages in this thread | | | Date | Thu, 29 Dec 2011 08:19:10 +0000 | From | "Richard W.M. Jones" <> | Subject | Re: Bug in BLKBSZSET/GET ioctl ? |
| |
On Thu, Dec 29, 2011 at 11:56:27AM +0800, Wanlong Gao wrote: > On 12/29/2011 11:51 AM, Wanlong Gao wrote: > > > Hi all: > > > > This is first reported to *libguestfs*: https://bugzilla.redhat.com/show_bug.cgi?id=624335 > > > The blockdev-get/setbsz in *libguestfs* is just a wraper of util-linux's *blockdev --get/setbsz*.
Agreed.
I don't think libguestfs is anything to do with it, since those commands simply translate to running /sbin/blockdev --{get,set}bsz /dev/sdX:
http://git.annexia.org/?p=libguestfs.git;a=blob;f=daemon/blockdev.c;h=d056abef1739de7b9e9aab118c138bae403e11e5;hb=HEAD#l106
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
| |