wo...@planix.ca ("Greg A. Woods") writes:

>So with Xen one can export a "disk" (disk, file, LVM partiion, etc.)
>with "access=ro", and that is enforced.

>However if one tries to mount such a disk in a domU as root, it fails.

>       root on dk1
>       vfs_mountroot: can't open root device, error = 30
>       cannot mount root, error = 30


The wedge code always opens the parent device read-write as it is only
opened once for all wedges.

I suggested to make it open read-only if it gets EROFS and to validate
the open mode against what is possible in this state.

Reply via email to