On Thu, Feb 7, 2019 at 12:15 PM Brian Ledbetter <[email protected]> wrote:
> Understood, I've been really impressed with his work on rofs so far. It > makes perfect sense for an application like mine. > > I modified usr_rofs.manifest.skel to include: > > /etc/resolv.conf: ->/tmp/resolv.conf > > ...and built with fs=rofs, but it fails writing it. So I'm definitely > doing something wrong :) > Or I was wrong, and we don't mount a writable /tmp? Looking at mount_rofs_rootfs(), I don't see us mounting /tmp. But I seemed to remember that we do, because we had tests relying on a writeable /tmp, didn't we? Waldek, if we don't have a writeable /tmp, can we? Should we? If we don't want to have a writeable directory (/tmp or otherwise) we can also do a kernel-generates "/proc/resolv.conf" (see how usr_rofs.manifest.skel does /etc/mnttab as a link to /proc/mounts). That is something we could do, but I thought was an overkill in this case. -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
