<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/src/inspect.c, branch 1.5.23</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>Allow $TMPDIR to override most temporary directory uses.</title>
<updated>2010-09-24T18:25:06+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-09-24T17:54:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=c9c0ac7d362fd19214c2c5e5bb7dcd9059950887'/>
<id>c9c0ac7d362fd19214c2c5e5bb7dcd9059950887</id>
<content type='text'>
Be more consistent in allowing the user to override use of the
temporary directory by specifying $TMPDIR.  Also prefer P_tmpdir
macro (defined in &lt;stdio.h&gt;) if that is defined, rather than
hard-coding "/tmp" for the fallback location.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Be more consistent in allowing the user to override use of the
temporary directory by specifying $TMPDIR.  Also prefer P_tmpdir
macro (defined in &lt;stdio.h&gt;) if that is defined, rather than
hard-coding "/tmp" for the fallback location.
</pre>
</div>
</content>
</entry>
<entry>
<title>leak: Free PCRE regexps when library is unloaded.</title>
<updated>2010-09-21T18:51:22+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-09-21T18:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=e7f62742b6141fd19444fc0e191281777cd966f9'/>
<id>e7f62742b6141fd19444fc0e191281777cd966f9</id>
<content type='text'>
The compiled PCRE regexps used for inspection were being leaked when
the library was unloaded.

(Found by valgrind).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The compiled PCRE regexps used for inspection were being leaked when
the library was unloaded.

(Found by valgrind).
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: list-filesystems: list filesystems</title>
<updated>2010-09-15T18:42:23+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-09-15T16:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=000c4a82fbd78667849551114b6d08f391324796'/>
<id>000c4a82fbd78667849551114b6d08f391324796</id>
<content type='text'>
This API is a simpler replacement for the guestfish commands
list-devices / list-partitions / lvs, in the case where you are
just examining a guest by hand to see what it contains.

Typical usage and output in guestfish is like this:

$ guestfish --ro -a /dev/vg_trick/F13x64
&gt;&lt;fs&gt; run
&gt;&lt;fs&gt; list-filesystems
/dev/vda1: ext4
/dev/vg_f13x64/lv_root: ext4
/dev/vg_f13x64/lv_swap: swap

It can also be used to replace programs that try to mount
devices to determine if they are mountable filesystems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This API is a simpler replacement for the guestfish commands
list-devices / list-partitions / lvs, in the case where you are
just examining a guest by hand to see what it contains.

Typical usage and output in guestfish is like this:

$ guestfish --ro -a /dev/vg_trick/F13x64
&gt;&lt;fs&gt; run
&gt;&lt;fs&gt; list-filesystems
/dev/vda1: ext4
/dev/vg_f13x64/lv_root: ext4
/dev/vg_f13x64/lv_swap: swap

It can also be used to replace programs that try to mount
devices to determine if they are mountable filesystems.
</pre>
</div>
</content>
</entry>
<entry>
<title>syntax: Remove trailing spaces.</title>
<updated>2010-09-10T21:57:48+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-09-10T21:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=b3d94d6a71e74e817ad5bdb9497e88d19ec2e29d'/>
<id>b3d94d6a71e74e817ad5bdb9497e88d19ec2e29d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>New APIs for guest inspection.</title>
<updated>2010-08-17T13:09:25+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-07-28T14:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=8289aa1ad68ec94c87fc4d538f638d8816052d92'/>
<id>8289aa1ad68ec94c87fc4d538f638d8816052d92</id>
<content type='text'>
This commit converts (some of) the Perl inspection code to C and
makes it available through core APIs.  The new APIs are:

inspect-os        - Does the inspection, returns list of OSes
inspect-get-*     - Get results of the inspection

where '*' is one of:

  type            - 'windows' or 'linux'
  distro          - Linux distro
  arch            - architecture
  product-name    - long product name string
  major-version
  minor-version   - major.minor version of OS
  mountpoints     - get a list of the mountpoints
  filesystems     - get all filesystems associated with the OS

This works for all existing supported Linux and Windows OSes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit converts (some of) the Perl inspection code to C and
makes it available through core APIs.  The new APIs are:

inspect-os        - Does the inspection, returns list of OSes
inspect-get-*     - Get results of the inspection

where '*' is one of:

  type            - 'windows' or 'linux'
  distro          - Linux distro
  arch            - architecture
  product-name    - long product name string
  major-version
  minor-version   - major.minor version of OS
  mountpoints     - get a list of the mountpoints
  filesystems     - get all filesystems associated with the OS

This works for all existing supported Linux and Windows OSes.
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: file-architecture</title>
<updated>2010-08-17T13:09:25+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-07-28T14:38:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=ad4cff2625651bda9de25de9aba96bdf213d0a0a'/>
<id>ad4cff2625651bda9de25de9aba96bdf213d0a0a</id>
<content type='text'>
This change simply converts the existing Perl-only function
file_architecture into a core API call.  The core API call is
written in C and available in all languages and from guestfish.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change simply converts the existing Perl-only function
file_architecture into a core API call.  The core API call is
written in C and available in all languages and from guestfish.
</pre>
</div>
</content>
</entry>
</feed>
