lkml.org 
[lkml]   [2011]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2011-12-29 09:21    [W:0.058 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site