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

Re: [Xen-devel] Which flag shows the DomU filesystem has mounted?


  • To: Joe Jin <joe.jin@xxxxxxxxxx>
  • From: Zhang Shukun <bitzsk@xxxxxxxxx>
  • Date: Thu, 4 Jun 2009 11:29:27 +0800
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 03 Jun 2009 20:30:20 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:x-goomoji-body:date :message-id:subject:to:cc:content-type; b=PKxfPn00jn9ZMKTLT5P/t8UIPxXbm/nvxp6wjF7pOhjX6ZC1yPekNBKzBaEUU5vNMT qhEqYwGPIEvNyMssolc3e/8Sty2rxjk59/Syxg+t9vZRYqKq8BXHRZcvTO2tXp5g+u6A KjAHFEg6YAIyqP4GtBgRN4ksrnlJDbIePnzhw=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Thank you for your quick reply!

if i can login in guest, the filesystem should been mounted yet, but i want to read file in domU kernel space, so i want to find a way to check the time when domU filesystem has mounted. or it will be crashed if i read file before mount complete.

2009/6/4 Joe Jin <joe.jin@xxxxxxxxxx>
On 2009-06-04 11:12, Zhang Shukun wrote:
> hi, does anyone knows which state or flag shows the domU is already mount
> the filesystem? is that  XenbusStateConnected or info->is_ready = 1; Thanks
>
No, state is XenbusStateConnected just meant device available for guest,
could not say it have mounted.

I guess to check if blk have mounted you have to login guest then check it.

Regards,
Joe





--
Best regards,
Zhang Shukun
Computer Department,Beijing Institute of Technology,China
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.