I must be missing something, and I am most definitely not a Mac expert, but my laptop doesn't even have an /opt directory.
-tk On Thu, Aug 29, 2019 at 12:04 PM Greg Troxel <g...@lexort.com> wrote: > Chris Alemany <chris...@gmail.com> writes: > > > Yes 'man hier' is available under macOS 10.14.6 > > > > /opt is not an unusual place to put open source stuff on Mac, it is > > what wview used as well. However, I would lean toward /var as well as > > Vince suggested or even put the logs within the user defined area (I > > have mine in /Users/Shared/weewx/logs) so it’s all in one place which > > has been nice from an accessibility standpoint. > > This is messy. Often in hier (which is a BSD thing from way back), > there is a notion that it's talking about system files. For that, /var > is arguably right. > > But, on mac you can't write into /usr (System Integrity Protection), and > really you shouldn't use --prefix=/usr, but something else. pkgsrc used > to use /usr/pkg, like on other systems, and is now /opt/pkg to avoid the > SIP restriction (avoid, not evade, as writing in /opt is an ok thing to > do - /usr/pkg would be ok too but is not allowed anyway). > > Once you have a special prefix, then one can put things in ${PREFIX}/var > so it is logically associated. > > I see your point about read-mostly vs rw, but if it's all on / anyway, > then I don't see that it matters much. > > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-development+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-development/rmiy2zbssi6.fsf%40s1.lexort.com > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-development+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zEA7wrR0mAx7wsQA-JbXQ2JBcMdPkk2yzAw33te2rfjDBw%40mail.gmail.com.