<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/daemon, branch stable-1.6</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>daemon: Fix /dev/mapper paths from mounts and mountpoints (RHBZ#646432).</title>
<updated>2010-10-28T14:16:14+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-10-27T13:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=fea2e61ac1129a2f01036d4dfbee8947f3d00886'/>
<id>fea2e61ac1129a2f01036d4dfbee8947f3d00886</id>
<content type='text'>
Make the LV paths returned by these two commands canonical.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the LV paths returned by these two commands canonical.
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: lvm-canonical-lv-name: make LV name canonical.</title>
<updated>2010-10-27T09:59:45+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-10-25T11:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=b01ef8eae1acc5105e623a25c8988bcc3326ea1c'/>
<id>b01ef8eae1acc5105e623a25c8988bcc3326ea1c</id>
<content type='text'>
When logical volume names appear in places like /etc/fstab
files they can have the form "/dev/mapper/foo-bar".  This
function takes such names and makes them canonical.

Note that this operation cannot be performed using the current
API, because 'guestfs_stat' does not work on device names, and
we don't really want to make a 'stat-device' call since that
exposes too much non-useful detail about the appliance.

With this patch you can do this:

&gt;&lt;fs&gt; debug ll /dev/mapper
total 8
drwxrwxr-x  2 root root   4096 Oct 25 12:51 .
drwxr-xr-x 16 root root   4096 Oct 25 12:51 ..
crw-------  1 root root 10, 62 Oct 25 12:51 control
lrwxrwxrwx  1 root root      7 Oct 25 12:51 vg_f13x64-lv_root -&gt; ../dm-0
lrwxrwxrwx  1 root root      7 Oct 25 12:51 vg_f13x64-lv_swap -&gt; ../dm-1

&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/mapper/vg_f13x64-lv_root
/dev/vg_f13x64/lv_root
&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/mapper/vg_f13x64-lv_swap
/dev/vg_f13x64/lv_swap
&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/mapper/foo
libguestfs: error: lvm_canonical_lv_name: lvm_canonical_lv_name_stub: /dev/mapper/foo: No such file or directory
&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/mapper/control
libguestfs: error: lvm_canonical_lv_name: /dev/mapper/control: not a logical volume
&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/vg_f13x64/lv_root
/dev/vg_f13x64/lv_root
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When logical volume names appear in places like /etc/fstab
files they can have the form "/dev/mapper/foo-bar".  This
function takes such names and makes them canonical.

Note that this operation cannot be performed using the current
API, because 'guestfs_stat' does not work on device names, and
we don't really want to make a 'stat-device' call since that
exposes too much non-useful detail about the appliance.

With this patch you can do this:

&gt;&lt;fs&gt; debug ll /dev/mapper
total 8
drwxrwxr-x  2 root root   4096 Oct 25 12:51 .
drwxr-xr-x 16 root root   4096 Oct 25 12:51 ..
crw-------  1 root root 10, 62 Oct 25 12:51 control
lrwxrwxrwx  1 root root      7 Oct 25 12:51 vg_f13x64-lv_root -&gt; ../dm-0
lrwxrwxrwx  1 root root      7 Oct 25 12:51 vg_f13x64-lv_swap -&gt; ../dm-1

&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/mapper/vg_f13x64-lv_root
/dev/vg_f13x64/lv_root
&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/mapper/vg_f13x64-lv_swap
/dev/vg_f13x64/lv_swap
&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/mapper/foo
libguestfs: error: lvm_canonical_lv_name: lvm_canonical_lv_name_stub: /dev/mapper/foo: No such file or directory
&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/mapper/control
libguestfs: error: lvm_canonical_lv_name: /dev/mapper/control: not a logical volume
&gt;&lt;fs&gt; lvm-canonical-lv-name /dev/vg_f13x64/lv_root
/dev/vg_f13x64/lv_root
</pre>
</div>
</content>
</entry>
<entry>
<title>daemon: Print failed path in stat command errors.</title>
<updated>2010-10-25T12:01:28+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-10-25T11:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=c9670080e9b7e614101109d385c66c2fdc15e191'/>
<id>c9670080e9b7e614101109d385c66c2fdc15e191</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>daemon: Use stdint UINT64_C instead of &lt;const&gt;ULL.</title>
<updated>2010-10-22T16:10:49+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-10-22T16:10:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=cd29c50ca820a03b9cecb300a84fb884425cb565'/>
<id>cd29c50ca820a03b9cecb300a84fb884425cb565</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>parted: Don't return "loop" for non-partitioned devices (RHBZ#634246).</title>
<updated>2010-10-18T11:56:54+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-10-18T11:56:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=b3d27793f04ae44b2c11f6422a19b4422ac941cd'/>
<id>b3d27793f04ae44b2c11f6422a19b4422ac941cd</id>
<content type='text'>
If you ran part-get-parttype command on a device which didn't
contain a partition, it used to return the string "loop".  This
is an internal representation that parted uses.  We should instead
return an error because part-get-parttype makes no sense for
devices which are not partitioned.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If you ran part-get-parttype command on a device which didn't
contain a partition, it used to return the string "loop".  This
is an internal representation that parted uses.  We should instead
return an error because part-get-parttype makes no sense for
devices which are not partitioned.
</pre>
</div>
</content>
</entry>
<entry>
<title>debug: Add qtrace &lt;device&gt; on|off to allow selective traces.</title>
<updated>2010-10-06T10:26:25+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-10-06T09:19:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=13276f753421c2df4f036647ce43e2ae8a2def0c'/>
<id>13276f753421c2df4f036647ce43e2ae8a2def0c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>part-disk: Align whole disk partition to 64 sectors.</title>
<updated>2010-10-06T08:08:39+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-10-06T08:08:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=4f6bd18d2e2a9c1d317a07b59072579d8fff42ac'/>
<id>4f6bd18d2e2a9c1d317a07b59072579d8fff42ac</id>
<content type='text'>
Change the part-disk command so it aligns the partition to
64 sectors (instead of 1 or 34 sectors as now).  This should
ensure that the filesystem contained within is aligned.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the part-disk command so it aligns the partition to
64 sectors (instead of 1 or 34 sectors as now).  This should
ensure that the filesystem contained within is aligned.
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: pread-device, partial read for devices.</title>
<updated>2010-09-27T11:04:44+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-09-27T11:00:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=7e4bf29fdf3067f3e83cd818a79ee522ae28e7ef'/>
<id>7e4bf29fdf3067f3e83cd818a79ee522ae28e7ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pread: Check count and offset parameters are not negative.</title>
<updated>2010-09-27T09:51:38+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-09-27T09:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=e65f5213637e71f6f88763ce177fd23c65e1033d'/>
<id>e65f5213637e71f6f88763ce177fd23c65e1033d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: pwrite-device</title>
<updated>2010-09-26T21:21:36+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-09-26T17:00:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=eeaab2ba84441a96977281a4472b1bccb9ec80a9'/>
<id>eeaab2ba84441a96977281a4472b1bccb9ec80a9</id>
<content type='text'>
This is the same as the existing 'pwrite' API call, but allows you
to write to a device.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the same as the existing 'pwrite' API call, but allows you
to write to a device.
</pre>
</div>
</content>
</entry>
</feed>
