[Libguestfs] uploads and unpacks .zip file

2012-09-17 Thread 周涛
hi jones! how to upload and unpack zip file tarball into a windows VM. i tried tar_in、tgz_in, but failed! thanks! 周涛 --- Confidentiality Notice: The information contained in this e-mail and any ac

Re: [Libguestfs] [PATCH libguestfs] maint: remove a subsumed syntax-check rule

2012-09-17 Thread Richard W.M. Jones
On Mon, Sep 17, 2012 at 11:51:05AM +0200, Jim Meyering wrote: > Hi Rich, > > I noticed that libguestfs's cfg.mk had an old (and relatively > inefficient) version of the rule that checks for empty lines at EOF. > The one in maint.mk is much more efficient: > > >From cf93f04a980ec01ef37db9a0d4c7b99

Re: [Libguestfs] [PATCH V3] NEW API:ext:mke2fs

2012-09-17 Thread Wanlong Gao
On 09/17/2012 03:12 PM, Richard W.M. Jones wrote: > On Mon, Sep 17, 2012 at 02:39:17PM +0800, Wanlong Gao wrote: >> > On 09/11/2012 08:53 PM, Wanlong Gao wrote: >>> > > New api mke2fs for full configuration of filesystem. >> > >> > Hi Rich, >> > >> > I fixed as your comments, but see this error,

[Libguestfs] [PATCH libguestfs] maint: remove a subsumed syntax-check rule

2012-09-17 Thread Jim Meyering
Hi Rich, I noticed that libguestfs's cfg.mk had an old (and relatively inefficient) version of the rule that checks for empty lines at EOF. The one in maint.mk is much more efficient: >From cf93f04a980ec01ef37db9a0d4c7b99015169eee Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 17 Sep 201

Re: [Libguestfs] Remaining syntax-check errors in libguestfs

2012-09-17 Thread Richard W.M. Jones
On Mon, Sep 17, 2012 at 10:47:52AM +0200, Jim Meyering wrote: > >> trailing_blank > >> TODO:405: - swap devices (both of block device and file) should be > > wiped. This may > >> Binary file tests/guests/guest-aux/windows-software matches > >> Binary file tests/guests/guest-aux/windows-system match

Re: [Libguestfs] Remaining syntax-check errors in libguestfs

2012-09-17 Thread Richard W.M. Jones
On Mon, Sep 17, 2012 at 10:47:52AM +0200, Jim Meyering wrote: > > There's something wrong with check matching test-tool.c. > > Thank you. That is another regexp that can be improved: > [the ":" was trying to anchor that "#" to beginning of line > in the grep-style "FILE:...text" output that it's

Re: [Libguestfs] Remaining syntax-check errors in libguestfs

2012-09-17 Thread Richard W.M. Jones
On Mon, Sep 17, 2012 at 10:23:04AM +0200, Jim Meyering wrote: > >> prohibit_path_max_allocation > >> daemon/initrd.c:41: char filename[PATH_MAX]; > >> daemon/initrd.c:126: char fullpath[PATH_MAX]; > >> daemon/inotify.c:310: char buf[PATH_MAX]; > >> daemon/link.c:38: char link[PATH_MAX]; > >> da

Re: [Libguestfs] Remaining syntax-check errors in libguestfs

2012-09-17 Thread Richard W.M. Jones
On Mon, Sep 17, 2012 at 10:23:04AM +0200, Jim Meyering wrote: > >> prohibit_magic_number_exit > >> po-docs/ja.po:59861:"might be called indirectly from L, > > which can cause unexpected " > >> po-docs/libguestfs-docs.pot:50902:"might be called indirectly from > > L, which can cause unexpected " > >

Re: [Libguestfs] Remaining syntax-check errors in libguestfs

2012-09-17 Thread Jim Meyering
Richard W.M. Jones wrote: ... cont'd >> prohibit_strcmp >> examples/mount_local.c:150: if (p && strcmp (p+1, "bash") == 0) { >> examples/virt-dhcp-address.c:129: if (strcmp (guest_type, "linux") == 0) { >> examples/virt-dhcp-address.c:134:if (strcmp (guest_distro, "fedora") == >> 0 || >

Re: [Libguestfs] Remaining syntax-check errors in libguestfs

2012-09-17 Thread Jim Meyering
Richard W.M. Jones wrote: > ... and why they are (probably) not errors. > >> bindtextdomain >> daemon/guestfsd.c >> erlang/erl-guestfs-proto.c >> examples/copy_over.c >> examples/create_disk.c >> examples/display_icon.c >> examples/inspect_vm.c >> examples/mount_local.c >> examples/virt-dhcp-addres

Re: [Libguestfs] [PATCH V3] NEW API:ext:mke2fs

2012-09-17 Thread Richard W.M. Jones
On Mon, Sep 17, 2012 at 02:39:17PM +0800, Wanlong Gao wrote: > On 09/11/2012 08:53 PM, Wanlong Gao wrote: > > New api mke2fs for full configuration of filesystem. > > Hi Rich, > > I fixed as your comments, but see this error, > "Fatal error: exception Failure("function mke2journal has tests but

Re: [Libguestfs] Remaining syntax-check errors in libguestfs

2012-09-17 Thread Richard W.M. Jones
On Sun, Sep 16, 2012 at 08:26:48PM -0700, Alex Nelson wrote: > > On Sep 16, 2012, at 10:31 , Richard W.M. Jones wrote: > > > ... and why they are (probably) not errors. > > > [snip] > > > > > >> prohibit_magic_number_exit > >> po-docs/ja.po:59861:"might be called indirectly from L, which can