[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [atomic-devel] Setting /usr to read-write?
- From: Jonathan Lebon <jlebon redhat com>
- To: Charlie Drage <cdrage redhat com>
- Cc: atomic-devel projectatomic io
- Subject: Re: [atomic-devel] Setting /usr to read-write?
- Date: Mon, 14 Mar 2016 21:33:20 -0400 (EDT)
----- Original Message -----
> Any way to mount /usr/lib to read-write?
Yup! You can just do:
mount -o remount,rw /usr
> I can't seem to find the fstab entry for /usr nor my
> google-fu helps.
It's a bind mount that happens on boot right before switch
root (see [1]).
> Seems that centos does not do this, but due to
> https://fedoraproject.org/wiki/Features/UsrMove Fedora 22 and above
> Atomic Host images have /usr as read-only.
>
> Just need to edit /etc/os-release for development :)
Hmm, I'm not sure I follow. You should be able to write to
/etc just fine. The /usr read-only mount is not due to
UsrMove, but a result of using OSTree. :)
Notably, if /usr wasn't read-only, then you'd be able to
directly modify repository content (since the deployments
are done through hard links). See the OSTree docs[2] for
more info.
[1] https://github.com/GNOME/ostree/blob/master/src/switchroot/ostree-prepare-root.c#L214
[2] http://ostree.readthedocs.org/en/latest/manual/introduction/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]