Fear and Loathing in FreeBSD, or my experiences with FreeBSD as desktop reddit / freebsd ---------------------------------------------------------------------- whattteva · 2022-06-22 03:32 Really nice write up so far. I learned new stuff like being able to change defaults for pkg as I always just run it with -y option instead. Your compatibility layer journey seems to go much more smoothly than mine mostly due to snapd requiring friggin' systemd. ---------------------------------------------------------------------- iTzDrK_ · 2022-06-22 12:20 I'm glad you liked my post and learned a couple things from it :) ---------------------------------------------------------------------- foretspaisibles · 2022-06-22 16:55 I enjoyed your writing too. You wrote REDOUCE instead of REDUCE and underestimated the abilities of ZFS but these are my full critics. :-) ---------------------------------------------------------------------- iTzDrK_ · 2022-06-22 18:48 Yeah, maybe I forgot about some ZFS features, but I haven't used it for more than a week, and I use OpenBSD in my server so I haven't had the opportunity to try it well yet ---------------------------------------------------------------------- foretspaisibles · 2022-06-22 21:35 I was mostly continuing the joke from your text :-) ---------------------------------------------------------------------- grahamperrin · 2022-06-24 06:34 Thanks. I'm trying to learn, a little, slowly. Finding on the Internet what I can *not* find in manual pages and the like… ---- Under for [make.conf\(5\)](https://www.freebsd.org/cgi /man.cgi?query=make.conf&sektion=5&manpath=FreeBSD) What's the purpose of `-O2`? For `DEVELOPER=yes` I found _FreeBSD Journal DE : May/June 2014_, [page 42](https://issue.freebsdfoundation.org/publication/?m=33057&i=2 17642&p=44&ver=html5): > … developer-directed verbose output that is useful when you build a port. … For `-march=native` and `-mtune=native` I found these: * * * [It is more complicated than I thought: -mtune, -march in GCC – Daniel Lemire's blog](https://lemire.me/blog/2018/07/25/it-is-more- complicated-than-i-thought-mtune-march-in-gcc/) (2018-07-25) * [Avoid general use of GCC march native flag | Scientific Computing | SciVision](https://www.scivision.dev/gcc-march-native-bugs-mtune/) (2020-05-22) ---------------------------------------------------------------------- iTzDrK_ · 2022-06-24 08:47 `-O2` optimizes the code so it runs better. `-march=native` and `-mtune=native` optimize the binary for the current processor of your machine ---------------------------------------------------------------------- grahamperrin · 2022-06-24 17:07 > -O2 optimizes the code so it runs better. Thanks, where should I find this documented? ---------------------------------------------------------------------- iTzDrK_ · 2022-06-24 22:06 the manpage ---------------------------------------------------------------------- BostonBSD · 2022-06-24 23:13 There's always a new quirky FreeBSD thing to learn. I just found out `/usr/bin/lp` and `/usr/bin/lpr` don't work with CUPS. To print from the command line you need to use: `/usr/local/bin/lp` and `/usr/local/bin/lpr` This is because the LPD printing system is installed in base and CUPS installs it's own commandline utilities which have the same names. The `/usr/bin` directory takes precedence over the `/usr/local/bin` directory in the default path settings. I just used an alias in the shell rc file to point to the right binary. ---------------------------------------------------------------------- grahamperrin · 2022-06-25 08:32 >>>> make.conf(5) … > the manpage OK, mentioned but not explained in make.conf(5). includes a link out to: * [cc\(1\)](https://www.freebsd.org/cgi/man.cgi?query=cc&sektion=1&man path=FreeBSD) – with *Code Generation Options* under . ---------------------------------------------------------------------- iTzDrK_ · 2022-06-25 13:04 Oh, i meant a C compiler manpage, `man cc`