Skip to contentSkip to conversation

Which flag shows the DomU filesystem has mounted?

DISCUSSION Zhang Shukun 2 participants 3 messages Jun 4, 2009

lore
Share & tools
lore
#0 lore raw

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

Signature · 3 lines
Best regards,
Zhang Shukun
Computer Department,Beijing Institute of Technology,China

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 3 lines · Zhang Shukun

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

#2 lore raw

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 <[email protected]>

Quoted 15 lines · Zhang Shukun
Quoted 2 lines

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

Quoted 1 line

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

Signature · 3 lines
Best regards,
Zhang Shukun
Computer Department,Beijing Institute of Technology,China

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel