[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] libguestfs question - multiple partitions in the guest



> On Wed, Aug 01, 2012 at 08:54:01PM +0100, Richard W.M. Jones wrote:
> > (1) You could look at tell-tale signs to see which root device has
> > most recently been mounted.  Probably the simplest thing is to look at
> > the date of /var/log/messages in each potential root, and choose the
> > most recent one (since /var/log/messages is reliably and frequently
> > updated when a guest boots and runs).
> 
> As in the attached program.

Neat!!  I just looked at it - very nice!!  We will give it a try
and report our findings!  If it does work, we will have to convert
it to Python (preferred).

Thanks!
Shawn


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]