<div dir="ltr"><div>On a fresh Catalina or Big Sure system, if you cd to root / then sudo then try mkdir /opt or something else such as mkdir /hello the system won't allow it, I get this:</div><div><br></div><div>mkdir: /hello: Read-only file system</div><div><br></div><div>note: the MacBook I just tried this on also has FileVault enabled and its got one of those Apple T2 chips with a touch bar<br></div><div><br></div><div>How does the MacPorts Catalina or Big Sur pkg installer work around this restriction?</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 25, 2021 at 3:26 PM Ryan Schmidt <<a href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On Jun 25, 2021, at 18:07, Tabitha McNerney wrote:<br>
<br>
> Hi all,<br>
> <br>
> I haven't installed a fresh MacPorts system in quite some time but will soon be doing so on a few Macs one running Catalina and the other Big Sur. Starting with Catalina, the root volume / is read-only so how do the MacPorts package installers set things up such that /opt/local can remain the default path to MacPorts for both read and write functionality on Catalina and Big Sur? Do the MacPorts package installers make use of Apple's new bi-directional firmlinks capability defined in /etc/synthetic.conf as also described on this page? <br>
> <br>
> <a href="https://derflounder.wordpress.com/2020/01/18/creating-root-level-directories-and-symbolic-links-on-macos-catalina/" rel="noreferrer" target="_blank">https://derflounder.wordpress.com/2020/01/18/creating-root-level-directories-and-symbolic-links-on-macos-catalina/</a><br>
> <br>
> Thank you.<br>
<br>
I'm not aware of MacPorts doing anything special for this. It just works?<br>
<br>
<br>
</blockquote></div>