At Mon, 5 Apr 2021 07:04:32 - (UTC), mlel...@serpens.de (Michael van Elst)
wrote:
Subject: Re: how do I mount a read-only filesystem from the "root device"
prompt?
>
> Someone would need to write code to "upgrade" vnodes. I doubt that's
> trivial.
On Sun, Apr 04, 2021 at 03:13:35PM -0700, Greg A. Woods wrote:
> I would think it's not just CDs and hypervisor-provided virtual devices
> that can have multiple partitions, use wedges, and yet be read-only.
>
> Are not a wide variety of removable storage devices also capable of
> being made "read
wo...@planix.ca ("Greg A. Woods") writes:
>Given the layers of devices and code involved, perhaps it might be
>possible to just honour the original mode requested by the code opening
>the first partition to mount a filesystem, and then to upgrade the vnode
>to write mode if/when that mount is upgr
At Sun, 4 Apr 2021 01:19:44 -0700, John Nemeth wrote:
Subject: Re: how do I mount a read-only filesystem from the "root device"
prompt?
>
> Given that it is possible to have partitions on CDs, which is
> common on Suns, but not so much elsewhere, and that anywhere the
On Apr 4, 7:34, Michael van Elst wrote:
} 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
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, erro
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.
When one first looks at the code which does the initial vfs_mountroot it
would appear to be correct -- i.e. it is try