<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/daemon, branch stable-1.8</title>
<subtitle>[MIRROR] library for accessing and modifying guest disk images</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/'/>
<entry>
<title>New APIs: getxattr and lgetxattr to get single extended attributes.</title>
<updated>2010-12-16T20:05:48+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-12-16T20:05:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=3a3836b933b80c4f9f2c767fda4f8b459f998db2'/>
<id>3a3836b933b80c4f9f2c767fda4f8b459f998db2</id>
<content type='text'>
These APIs are essentially required to work around a problem
with ntfs-3g.  This filesystem (or FUSE?) does not list all
extended attributes of a file when you call listxattr(2).  However
if you know the name of an extended attribute, you can retrieve
it directly using getxattr(2).

The current APIs (getxattrs etc) are simple to use, but they
don't work if we can't list out the extended attributes (ie.
by calling listxattr(2)).

Example using the new APIs on an ntfs-3g filesystem:

&gt;&lt;fs&gt; lgetxattr "/Documents and Settings" system.ntfs_attrib | hexdump -C
00000000  16 24 00 00                                       |.$..|
00000004
&gt;&lt;fs&gt; lgetxattr "/Documents and Settings" system.ntfs_reparse_data | hexdump -C
00000000  03 00 00 a0 34 00 00 00  00 00 18 00 1a 00 10 00  |....4...........|
00000010  5c 00 3f 00 3f 00 5c 00  43 00 3a 00 5c 00 55 00  |\.?.?.\.C.:.\.U.|
00000020  73 00 65 00 72 00 73 00  00 00 43 00 3a 00 5c 00  |s.e.r.s...C.:.\.|
00000030  55 00 73 00 65 00 72 00  73 00 00 00              |U.s.e.r.s...|
0000003c
&gt;&lt;fs&gt; getxattr "/Documents and Settings" system.ntfs_reparse_data | hexdump -C
libguestfs: error: getxattr: getxattr: No such file or directory
&gt;&lt;fs&gt; getxattr "/Documents and Settings" system.ntfs_attrib | hexdump -C
libguestfs: error: getxattr: getxattr: No such file or directory
&gt;&lt;fs&gt; lgetxattr "/Documents and Settings" system.ntfs_attrib | hexdump -C
00000000  16 24 00 00                                       |.$..|
00000004
&gt;&lt;fs&gt; getxattr "/Users" system.ntfs_attrib | hexdump -C
00000000  11 00 00 00                                       |....|
00000004
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These APIs are essentially required to work around a problem
with ntfs-3g.  This filesystem (or FUSE?) does not list all
extended attributes of a file when you call listxattr(2).  However
if you know the name of an extended attribute, you can retrieve
it directly using getxattr(2).

The current APIs (getxattrs etc) are simple to use, but they
don't work if we can't list out the extended attributes (ie.
by calling listxattr(2)).

Example using the new APIs on an ntfs-3g filesystem:

&gt;&lt;fs&gt; lgetxattr "/Documents and Settings" system.ntfs_attrib | hexdump -C
00000000  16 24 00 00                                       |.$..|
00000004
&gt;&lt;fs&gt; lgetxattr "/Documents and Settings" system.ntfs_reparse_data | hexdump -C
00000000  03 00 00 a0 34 00 00 00  00 00 18 00 1a 00 10 00  |....4...........|
00000010  5c 00 3f 00 3f 00 5c 00  43 00 3a 00 5c 00 55 00  |\.?.?.\.C.:.\.U.|
00000020  73 00 65 00 72 00 73 00  00 00 43 00 3a 00 5c 00  |s.e.r.s...C.:.\.|
00000030  55 00 73 00 65 00 72 00  73 00 00 00              |U.s.e.r.s...|
0000003c
&gt;&lt;fs&gt; getxattr "/Documents and Settings" system.ntfs_reparse_data | hexdump -C
libguestfs: error: getxattr: getxattr: No such file or directory
&gt;&lt;fs&gt; getxattr "/Documents and Settings" system.ntfs_attrib | hexdump -C
libguestfs: error: getxattr: getxattr: No such file or directory
&gt;&lt;fs&gt; lgetxattr "/Documents and Settings" system.ntfs_attrib | hexdump -C
00000000  16 24 00 00                                       |.$..|
00000004
&gt;&lt;fs&gt; getxattr "/Users" system.ntfs_attrib | hexdump -C
00000000  11 00 00 00                                       |....|
00000004
</pre>
</div>
</content>
</entry>
<entry>
<title>daemon: Use prog_exists to check for features.</title>
<updated>2010-12-10T17:38:17+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-12-10T17:38:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=363978fa7fc055da380d31103c7de378a08b71fb'/>
<id>363978fa7fc055da380d31103c7de378a08b71fb</id>
<content type='text'>
This updates commit 0938509e0422363554023ab99381fd70a22a6e08.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This updates commit 0938509e0422363554023ab99381fd70a22a6e08.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove several unused local variables.</title>
<updated>2010-12-10T12:19:49+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-12-10T12:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=d72815578f7b8fea9702902d8562430e8a007a46'/>
<id>d72815578f7b8fea9702902d8562430e8a007a46</id>
<content type='text'>
(Revealed by compiling under Debian where this is a warning).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(Revealed by compiling under Debian where this is a warning).
</pre>
</div>
</content>
</entry>
<entry>
<title>ubuntu: deactivate LVs and VGs before removing them.</title>
<updated>2010-12-07T17:57:08+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-12-07T17:55:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=0942cab0375cb445cc8edfba87ea82a703383964'/>
<id>0942cab0375cb445cc8edfba87ea82a703383964</id>
<content type='text'>
Even with the '-f' option, LVM on Ubuntu sometimes cannot remove
active LVs and VGs.

Change lvm-remove-all so it deactivates each LV and VG before
removing them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even with the '-f' option, LVM on Ubuntu sometimes cannot remove
active LVs and VGs.

Change lvm-remove-all so it deactivates each LV and VG before
removing them.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "umount-all: Add udev_settle after unmounting disks."</title>
<updated>2010-12-07T17:57:07+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-12-07T17:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=1c63d8239a9a05eeafd4e4b8c882200bc68a3109'/>
<id>1c63d8239a9a05eeafd4e4b8c882200bc68a3109</id>
<content type='text'>
This reverts commit ad2abf89c364d5ec73fb12af63b053637d99d757.

Ubuntu still has errors even with the addition of udev_settle
after umount-all.  Therefore this was just masking the problem.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ad2abf89c364d5ec73fb12af63b053637d99d757.

Ubuntu still has errors even with the addition of udev_settle
after umount-all.  Therefore this was just masking the problem.
</pre>
</div>
</content>
</entry>
<entry>
<title>debian: Fix ntfs3g available API on Debian.</title>
<updated>2010-12-07T17:04:36+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-12-07T16:51:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=0938509e0422363554023ab99381fd70a22a6e08'/>
<id>0938509e0422363554023ab99381fd70a22a6e08</id>
<content type='text'>
Really we should have a test for "is program on $PATH?" but this
fix will do for now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Really we should have a test for "is program on $PATH?" but this
fix will do for now.
</pre>
</div>
</content>
</entry>
<entry>
<title>umount-all: Add udev_settle after unmounting disks.</title>
<updated>2010-12-07T16:24:34+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-12-07T16:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=ad2abf89c364d5ec73fb12af63b053637d99d757'/>
<id>ad2abf89c364d5ec73fb12af63b053637d99d757</id>
<content type='text'>
This helps avoid an error on Ubuntu, but it's not clear if this
is a real solution or just helps by adjusting the timing of some
race condition.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This helps avoid an error on Ubuntu, but it's not clear if this
is a real solution or just helps by adjusting the timing of some
race condition.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Don't emit warnings about stack protector failures.</title>
<updated>2010-12-06T14:32:50+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-11-23T17:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=0bb4208467dcfc49389037defe6ce7f291807901'/>
<id>0bb4208467dcfc49389037defe6ce7f291807901</id>
<content type='text'>
These are seen on gcc 4.5.1 used in Ubuntu.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are seen on gcc 4.5.1 used in Ubuntu.
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: mkfs_opts, mkfs with optional arguments.</title>
<updated>2010-12-02T13:43:18+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-12-02T13:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=0710326ac5f1a06cf1dc3500617d04cf4cba5631'/>
<id>0710326ac5f1a06cf1dc3500617d04cf4cba5631</id>
<content type='text'>
This is an extensible version of 'mkfs' which supports optional
arguments.  There is now no need for 'mkfs_b' since you should
use 'mkfs_opts' with the optional 'blocksize' argument instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an extensible version of 'mkfs' which supports optional
arguments.  There is now no need for 'mkfs_b' since you should
use 'mkfs_opts' with the optional 'blocksize' argument instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>generator: Code to handle optional arguments in daemon functions.</title>
<updated>2010-12-02T13:32:40+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-12-02T13:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=65f44b459070a1dbfba66c31e0be69588e49f4a8'/>
<id>65f44b459070a1dbfba66c31e0be69588e49f4a8</id>
<content type='text'>
Previously we only supported optional arguments for library
functions (commit 14490c3e1aac61c6ac90f28828896683f64f0dc9).

This extends that work so that optional arguments can also be
passed through to the daemon.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously we only supported optional arguments for library
functions (commit 14490c3e1aac61c6ac90f28828896683f64f0dc9).

This extends that work so that optional arguments can also be
passed through to the daemon.
</pre>
</div>
</content>
</entry>
</feed>
