5 ms·
I put all developer libraries that I do not want to put into a system path into /DevelopLibs. On Windows I put them in C:\DeveloperLibs. That way I can build su
by 72deluxe 6y ago
I put all developer libraries that I do not want to put into a system path into /DevelopLibs. On Windows I put them in C:\DeveloperLibs. That way I can build supporting libraries of different versions software under there, eg. /DeveloperLibs/abc-1, /DeveloperLibs/abc-2 and test that I have a self-contained executable that runs on my development system without relying on anything in $PATH.
It was a habit on macOS since /Developer used to be where xcode lived until they moved it to /Applications.
It also makes it easy to look in the /DeveloperLibs directory and see if I've got all libraries I need on this machine (I have different development machines under different OSes).
Removing ability to create directories under the root seems draconian for no good reason, other than the iOS-ification of my machine. Not Apple's machine - my machine.
I don't understand why people would ask "why would you want to do that?" because everybody used to defend the ability to only resize windows from the bottom right corner under macOS until a few versions ago, when it became obvious that resizing a window from any edge was a good idea and always had been. But people oddly defended it for decades before that.
What if they now remove the ability to change your desktop wallpaper? Would we all say "but why would you want to change your wallpaper?"? We seem to accept the gradual lock-down of our own machines. Apple users (and I am one) seem to be the most defensive of the company's behaviours and it doesn't make sense - we just have to accept it.
If Microsoft removed the ability to create a directory under C:\, what would the result be? Would we be asking "but why would you want to create a directory under C:\?"? I think not. It'd be the apocalypse.
- happymellon 6y agoSo two things here. The first is that it sounds like you want to be using `/opt`. The second, is that I am able to create root folders, I just have to remount as rw before creating it and after that I can mount any data folder to `/foo`. I'm not entirely clear why not having `/` as rw by default is such an issue, but you are cetainly not prevented from doing it if you wanted to.
- chipotle_coyote 6y agoAs happymellon noted, I just use /opt when I need to. There are certainly many decisions Apple makes that I don't like and I am always keeping my eye on Linux in case I really feel the need to pull the rip cord. But for me, this is just not a hill of sufficient size to die on. "Apple now mounts the system partition as read-only" just doesn't feel like a slippery slope that leads inexorably to... well, I'm not really sure where people imagine it's going. "This is something I used to be able to do and now I can't and soon that means I won't be able to open a shell!" I mean, maybe, but... probably not. If I had to choose whether "Macs in five years will only be able to install programs from the Mac App Store" or "iPads in five years will be able to install programs from places other than the iOS App Store" is more likely, I'd honestly go with the latter. > I don't understand why people would ask "why would you want to do that?" I guess I don't understand why asking the question is controversial; I'm not trying to lead anyone into a rhetorical trap that forces them to admit only axe murderers would ever use this functionality. :) It's simply that in what I'm pretty sure is over a quarter-century of Unix use on my part I don't recall ever putting anything in the root directory of any of my systems except by mistake. As for "defending the ability to only resize windows from the bottom right corner until a few versions ago," your memory of this is different from mine, I suppose. I recall a lot of Mac users thinking that Apple's one-corner-only approach was a bad leftover from the pre-OS X days that needed to change!
- happymellon 6y agoYeah, TBH I think that more file systems should be mounted as RO by default, and only moved to RW during an operation then restored to RO post system activity. It would get rid of shitty Mac application documentation that rather than installing itself in correct locations, has troubleshooting steps like: > Just chown your entire `/` to your current user and `chmod +w *`... Until Atomic installations become the norm like SilverBlue its probably a good step.