Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: how do I mount a read-only filesystem from the "root device" prompt?
woods%planix.ca@localhost ("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.
Home |
Main Index |
Thread Index |
Old Index