All Posts by Date or last 15, 30, 90 or 180 days.
also by Lloyd: diglloyd.com photography and WindInMyFace.com
Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd B&H Deal Finder...
Buy other stuff at Amazon.com...
Upgrade the memory of your 2019 iMac up to 128GB
877-865-7002
Today’s Deal Zone Items... Handpicked deals...
$368 $168
SAVE $200

$449 $359
SAVE $90

$999 $699
SAVE $300

$799 $299
SAVE $500

$249 $234
SAVE $15

$290 $250
SAVE $40

$1149 $799
SAVE $350

$1199 $999
SAVE $200

$1299 $1099
SAVE $200

$1799 $1799
SAVE $click

$1799 $1799
SAVE $click

$2799 $2499
SAVE $300

$3899 $3899
SAVE $click

$18599 $17099
SAVE $1500

$369 $239
SAVE $130

$764 $399
SAVE $365

$600 $450
SAVE $150

$1499 $649
SAVE $850

$1499 $649
SAVE $850

$7995 $7495
SAVE $500

$1597 $1097
SAVE $500

$420 $170
SAVE $250

$700 $700
SAVE $click

$2999 $2399
SAVE $600

$1699 $1399
SAVE $300

$169 $99
SAVE $70

$1498 $998
SAVE $500

$200 $150
SAVE $50

$370 $300
SAVE $70

$999 $949
SAVE $50

$1099 $999
SAVE $100

$580 $340
SAVE $240

macOS Catalina: Read-Only Boot Volume Precludes Use of Top-Level File System Namespace / Paths (UPDATE: Solution with /etc/synthetic.conf)

How to Stop macOS from Urging You to “Upgrade” to macOS Catalina
Professionals Should Stay Away from macOS Catalina for Six Months
Caution on Upgrading to macOS Catalina — Could Cost You Money and Functionality

Original post follows, or go to the solution using /etc/synthetic.conf.

...

What follows won’t matter to ordinary users, who run mainstream apps and such. But for developers like myself and those using a Mac for complicated tasks, it’s a sticky “forever downgrade”. As in a headache that has no cure.

I run 5 Macs with development code and web servers with various versions of macOS. Each of these has differing hardware, in particular the drive/volume setup. They run different OS versions, so standardizing on things like paths is important to being able to share setup, launch daemons, scripts, etc.

No more top-level namespace in macOS Catalina

In macOS Catalina, the boot volume is now a read-only volume. That may be a good thing for security on its own, but it means that a convenient top-level namespace is now impossible.

For example, a short and sweet path such as “/web/” prior to Catalina could be made with a symbolic links via “ln -s” at the command line.

Every benefit has a cost, and the cost here is zero for most users, so in numeric terms “no one cares”. But for me and other developers it is a forever downgrade.

Apple does not see fit to offer any tool to map in such paths, not even for symlinks.

Would it really be that hard for Apple to offer a “firmlink” tool? Of course not, but it is a longstanding pattern in which the needs of professionals and advanced users are ignored. Such hassles drive people to things like Linux and Windows.

What namespace to use for paths?

To tie together the location of things and especially for command line convenience and efficiency, I have used symbolic links (“symlinks”) for years, e.g.:

ln -s /Volumes/Master /Master

On some other machine, Master may just be the directory itself (not a symlink). On another system, a volume that is a partition off the internal SSD. On another system, a separate drive/volume.

The root level namespace is valuable in creating the same apparent file structure across all my machines machines regardless of whether it is one drive or several, mapping a fixed path to a variable place on different volumes, e.g.:

/web
/tools
/Master
/Scratch
/Attic
etc

The new read-only file system in Catalina precludes creation of any such paths. In some senses this is the most damaging aspect of Catalina, because it incurs a hit forever whenever working at the command line.

This type of usage becomes impossible:

cd /web/...

... changing to the hassle of a longer path with the constant hassle of typos in typing it:

cd ~/web/...                           <=== home directory not good for a daemon process
cd /Users/lloyd/web/...                <=== home directory not good for a daemon process
cd ${WEB}/...                          <=== uggg...
cd /System/Volumes/Data/web/...        <=== painfully long and tedious
cd /usr/local/bin/web/...              <=== painfully long and tedious

Since I use such paths at the command line extensively, this is not a minor matter, leading to more typing and more errors. Aliases and scripts can reduce the pain, but the bottom line is that it is a unfixable never-ending nuisance.

Best alternative

I cannot think of any alternative that is not a headache or problem is some way. For example, using one’s home directory (the ~/ prefix) is generally unsuitable for a daemon process since a daemon process should not be tied to some particular user account.

I don’t yet know how I’ll handle this. I cannot find any way to have a short namespace root to which I can appen “web”, “tools”, etc. Moreover, the change must happen on all five of my machines, including my web servers.

Solution: mount points vs /etc/synthetic.conf

Thanks to reader Mark A for sending me this information. It is incredible that Apple does not see fit to mention this key workaround in About the read-only system volume in macOS Catalina.

Mark A writes:

A few pages that you should be able to cobble together a solution short of reworking your entire scheme.

http://www.drukspijker.nl/drukspijker/personal/directories-at-root-on-osx-catelina-how-to/
https://arstechnica.com/civis/viewtopic.php?f=19&t=1459515
https://superuser.com/questions/1467982/how-to-create-a-firm-link-in-latest-apfs
https://github.com/NixOS/nix/issues/2925

MPG: awesome! Tested and it works.

A snippet from the /etc/synthetic.conf I created:

Master Volumes/Master
tools Volumes/Master/diglloyd/tools
web Volumes/Master/diglloyd/web

OWC Accelsior 4M2 PCIe SSD
6000 MB/sec!
Mac or PC.


Ideal for Lightroom, Photoshop, video.
Capacity up to 16TB!
OWC Envoy Pro EX SSD
Blazingly fast Thunderbolt 3 SSD!

Up to 4TB capacity, USB-C compatible.

USB-C model also available


Great for travel or for desktop!
Save Big $$$$ on Memory for 2019 Mac Pro

Up to 65% better pricing than Apple

Lloyd recommends 32GB RDIMM modules for most users (more expensive LRDIMMS are for 512GB or more).


OWC Thunderblade Thunderbolt 3 SSD

Blazing fast, up to 16TB.

YEE HAH!



√ No more slow and noisy hard drives!

Save the tax, we pay you back, instantly!
View all handpicked deals...

QNAP TS-253Be 2-Bay NAS Enclosure
$449 $359
SAVE $90

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__