Zhang Shukun
2009-Jun-04 03:12 UTC
[Xen-devel] Which flag shows the DomU filesystem has mounted?
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 -- Best regards, Zhang Shukun Computer Department,Beijing Institute of Technology,China _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Joe Jin
2009-Jun-04 03:22 UTC
Re: [Xen-devel] Which flag shows the DomU filesystem has mounted?
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Zhang Shukun
2009-Jun-04 03:29 UTC
Re: [Xen-devel] Which flag shows the DomU filesystem has mounted?
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@oracle.com>> 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@lists.xensource.com http://lists.xensource.com/xen-devel