Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1234

Python • Re: Effect of "Enable/disable read-only file system" on SUDO PIP installs

$
0
0
So, from observing the behavior, but with the lack of documentation, it looks like 'Enable/disable read-only file system' turns / into a RW virtual file system.
It uses an overlay file system. The original / file system is there and set as Read Only. An empty RAM file system is overlaid on top of that so all write go to the RAM file system. Obviously when you reboot you start with a new empty RAM file system so any changes have been lost.

If you want any changes to remain (pip install or any apt upgrade or installs) you need to disable the R/O file system, reboot, make the changes, then enable the R/O filesystem again and reboot once more.

Statistics: Posted by rpdom — Sun Jun 16, 2024 1:59 pm



Viewing all articles
Browse latest Browse all 1234

Trending Articles