Big Sur install removed tons of files and directories
I installed Big Sur on a MacBook Pro. The installation went without any error message.
A few hours later trying to use commands I built and installed ( with MacPorts, Homebrew, or myself ) I discovered that they aren't there anymore.
I used to install all this local programs inside:
/opt
I had about 500 000 binaries and libraries there.
Apparently this directory was explicitely removed during the Big Sur install without any warning.
I consider this as a very bad practice.
How to find a list of all the directories which have been secretly removed during this install?
Where is this files and directories removal documented?
I have a bootable backup, but I can't do a brutal recovery of it from / because it will completely erase
the Big Sur upgrade.
MacBook Pro 15″, macOS 11.7