19 ms·
FreeBSD 11.4
- sedatk 6y agoIf anyone else is wondering like me who Bruce Evans is: > Bruce Evans <bde@FreeBSD.org> > Bruce is the Style Police-Meister. When you do a commit that could have been done better, Bruce will be there to tell you. Be thankful that someone is. Bruce is also very knowledgeable on the various standards applicable to FreeBSD. https://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/people.html https://www.freebsd.org/doc/en_US.ISO8859-1/articles/committ...
- fipar 6y agoSeems he had an approach to reviews worthy of emulation: "Code reviews from Bruce came in three flavours, "mild", "brucified" and "brucifiction", but they were never personal: It was always only about the code, the mistakes, the sloppy thinking, the missing historical context, the ambiguous standards - and the style(9) transgressions." Source: https://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/contrib-develinmemoriam.html https://www.freebsd.org/doc/en_US.ISO8859-1/articles/contrib...
- jasone 6y agoBruce's reviews were singularly masterful. He consistently condensed valuable layers of meaning into terse prose in a way that I have never experienced otherwise. As I would uncover these layers during repeated readings, I would develop the unshakable feeling that even as brilliant as Bruce was, he must have put great care and effort into his writing.
- huslage 6y agoDo you know of a good example?
- loeg 6y agoI wouldn't suggest emulating it. His approach to review was to exhaustively detail every perceived bug in any particular file when someone touched that file. Preexisting issues unrelated to the change. Style warts unrelated to the change. Subjective opinions unrelated to the change. In his emails, every one of these was a "bug." There is some value in suggesting adjacent areas for future work, if authors have time and interest, but BDE went well beyond that. I think Bruce should be admired for his demonstrated desire to improve FreeBSD, and for his great attention to detail. But I would not like anyone to emulate his code review emails.
- yjftsjthsd-h 6y agoIf you're reviewing a block of code, you need to review the whole final version (not just the diff) or you risk missing context and interactions. If you're doing that, it's simpler to just review the whole thing and not filter out some parts just because you later notice that it predates the current patch. Although I would tend to hope that he doesn't treat pre-existing issues as blockers, I can certainly see why a person would take that approach if the goal is code quality.
- markjdb 6y agoAlso mentioned here: https://lwn.net/Articles/808733/ https://lwn.net/Articles/808733/
- deleted 6y ago[deleted]
- pwdisswordfish2 6y agoHe is the author of bcc, as86 and ld86. Write K&R C and compile to 16-bit for 8086 or 3086. https://github.com/lkundrak/dev86 https://github.com/lkundrak/dev86 In the early days of Linux, bcc was used in building the kernel. bcc used to be required for ELKS. bcc is still used today, e.g., in compiling VirtualBox. http://web.archive.org/web/20200427081559/https://www.virtualbox.org/wiki/Linux%20build%20instructions http://web.archive.org/web/20200427081559/https://www.virtua...
- sedatk 6y agoDidn't know, thanks for the extra info!
- aduitsis 6y agoI think the idea of having a long term support release for 5 years was great [1]. FreeBSD 11 has been around for some years now, getting an update to which 11.3-RELEASE can be upgraded with minimal hassle is a major plus for FreeBSD. ([1] edit: referring to https://lists.freebsd.org/pipermail/freebsd-announce/2015-February/001624.html https://lists.freebsd.org/pipermail/freebsd-announce/2015-Fe...)
- AbacusAvenger 6y ago> The KDE desktop environment has been updated to version 5.18.4.1.19.12.3. Is that... actually the version number? I thought KDE just used a 3-part version number (major.minor.maintenance or something).
- andimm 6y agoI am no expert at all but maybe the desktop environment is a combination of KDE Plasma 5.18.4 and KDE Applications 19.12 https://en.wikipedia.org/wiki/KDE_Software_Compilation https://en.wikipedia.org/wiki/KDE_Software_Compilation
- cbhl 6y agoThe last three parts are probably a date in yy.m.d format. Package names only get longer as you add more layers of maintainers. (For example, package-XubuntuY or package+YYYYmmdd-n was common on Ubuntu, who needed their versions to fit "between" given Debian versions.)
- Johnnynator 6y agoKDE releases numbers can be 4 part. The first 3 are for scheduled releases and the 4th one is for unscheduled one. E.h. 5.18.4 was released without having the version number in the source code updated, so 5.18.4.1 was released right after with that fixed. Otherwise FreeBSD has both the Plasma and the Application version number in their meta package. 5.18.4.1 is Plasma and 19.12.3 are applications.
- 29athrowaway 6y agoSad that it does not ship with Gnome 3.36, one of the best releases of Gnome ever.
- tifadg1 6y agowell it would be strange if software got worse with new releases.
- axaxs 6y agoSomeone wasn't around for the Gnome 2 to 3 switch, it sounds like.
- loeg 6y agoGnome 3 set back "the year of Linux on the desktop" by ten years. It's still less usable in 2020 than Gnome 2 was in 2005.
- 29athrowaway 6y agoAs someone that uses macOS and Linux + Gnome, I can say that I much rather prefer Gnome over macOS.
- dijit 6y agoFrankly, given how GNOME has been developing itself I think it would be a detriment to FreeBSD to bend itself to support it. You might disagree, but not every software deserves support, they're not playing nice to non-systemd enabled and non-linux operating systems.
- mrlonglong 6y agoActually Gentoo lets you use Gnome 3 without needing to install SystemTurd^H^H^H^HD.
- mrlonglong 6y ago
- 2trill2spill 6y agoAfter a year of trying Ubuntu as my at home dev machine, I'm going back to FreeBSD. FreeBSD is much more of a pain during initial setup, but then it just works. Where as my laptop with Ubuntu has the most finicky Wifi and freezes way too often, and I didnt have these problems with FreeBSD on the same hardware.
- na85 6y agoDo you actually get working wifi, suspend/resume and acceptable battery life under BSD? Last time I tried (open)BSD, none of those things worked acceptably. The recommended way to connect to wifi was to manually edit wpa_supplicant.conf and battery life was a solid hour less than under linux. I feel like BSD is a great "laptop OS" if you're the kind of user that leaves their thinkpad plugged in all the time, essentially using it as a small-form factor desktop. Maybe it's better nowadays.
- 2trill2spill 6y agoSuspend and Resume was the hard one, battery life is solid, although I haven't done a direct comparison with Linux. Wifi was easy but not as easy as Linux to setup. On Linux wifi worked out of the box but I would lose wifi a couple times a day. While on FreeBSD I had to edit a few config files to get wifi working but I dont lose wifi every day. To get the Suspend and Resume to work I had to use the drm-next-kmod port.
- laumars 6y agoBSD isn’t like Linux where it’s the roughly the same kernel and user land but a different distribution of packages. OpenBSD and FreeBSD are entirely different operating systems albeit with a shared lineage.
- 0ld 6y ago> Last time I tried (open)BSD Sorry, but OpenBSD and FreeBSD are very different operating systems, it's not just "different distros" like in the Linux world Whatever you tried in OpenBSD has most likely no relation to FreeBSD Speaking of the things you mentioned, I personally would expect suspend/resume to just work out of the box in the latest OpenBSD, but not necessary in FreeBSD (it was never a priority for the developers). You also don't need wpa_supplicant in OpenBSD (unlike FreeBSD), ifconfig should be enough in most cases. For the battery life, you certainly gonna need some tuning, as it's not a config priority by default, but generally (on mainstream hardware) you should be able to reach at least 80%-sh battery life comparing to Linux in OpenBSD, and comparable to Linux in FreeBSD
- jrumbut 6y agoLooks like a nice release. I'd be curious to hear from people who are using FreeBSD on the server, their stories of how it works out especially vis-a-vis working with newer developers who may lack depth in their Unix background.
- stiray 6y agoI will just use this oportunity to thank FreeBSD team (from kernel to ports maintainers) for their work on project and give my thanks in advance for anyone who joins it. It was magnificent server for last 10+ years and I have never trembled before doing a major upgrade. If you dont hear this enough: please keep on working your great work, maybe you are not the most used OS, but you have all my love <3 <3 <3
- waynesonfire 6y agoit's comments like this that make we want to take the dive. thanks for not only supporting the freebsd team but encouraging potential future users. though with that said, i will say that k8s is taking over the world and bsds are going to be left in the dust for my use-case, non-(appliance, embedded, IoT) applications.
- toast0 6y agoWe've been hearing FreeBSD is dying since before it's been the year of linux on the desktop. Is FreeBSD ever going to be hip and trendy? Probably not, it's not 1994 anymore. But, I don't need a hip amd trendy OS, I need an OS that provides a stable base for me to work upon and supports enough hardware that I can chose decent parts. As a bonus, I've found it easy enough to muck with the internals when it has benefited me or my employer.
- akira2501 6y agoIt's hard to believe it's been so long since "It is now official. Netcraft has confirmed: *BSD is dying" was originally written.
- toyg 6y agoI'm surprised the meme is still understood. Do young geeks even know what Netcraft was...? It reminds me that in my hometown, opening a communal door of a condo from your flat is called "pulling", because people used to pull a cord to do it when electricity "didn't exist". Nobody has had to pull a cord to open a door in probably 80 years, but everyone there still says "I'll pull it".
- deleted 6y ago[deleted]
- 12bits 6y agoFreeBSD is a delight to run, I use an old AMD build to host Plex, PiHole and some other services in bhyve VMs. Keep a copy of Absolute FreeBSD around for physical reference just like the 90s.
- incanus77 6y agoFreeBSD is a tremendous project. I've used it since the 4.x days, first for work (web/mail/database hosting, at the time) and then for personal projects. I have a 2000-era desktop PC as a personal server that I had left collect dust until very recently after switching to Macs for daily work long ago. It was running 6.1 and I hadn't booted it in a few months shy of ten years. I booted it right up, and in an afternoon proceeded to, in small stages, update it to the latest 12.1 release, which I am running with great stability now, including live repartitioning and better use of the available disk space after going into single-user admin mode. "Recent" improvements that I've been appreciating have been a smaller/more dense console font, easier wireless configuration (it has an Atheros-based PCI wifi card), and easier and more clear package and ports management. AND it still runs fast.
- hpkuarg 6y agoAn in-place upgrade from 6.1 to 12.1 without major issues? That is indeed tremendously impressive.
- loeg 6y agoI've done the same thing with in-place Fedora upgrades over a similar time-frame. It is impressive, but not unrivaled in the Linux world. (I'm not playing favorites with Linux here: I'm a FreeBSD developer.)
- agumonkey 6y agoThere's also a famous video on youtube where some guy installs every versions of windows (maybe not 1 and 2) back to back and it kinda works (passing custom configuration most of the time too)
- rhizome 6y agomergemaster is still a drag
- crest 6y ago
- blueblob 6y agoHasn't FreeBSD 12 been out for a while now? This is just a LTS release?
- yjftsjthsd-h 6y agoCorrect; FreeBSD 11 has continued having minor versions well after 12 dropped.
- loeg 6y agoIt seems like we're close to due for 13.0, honestly, although I don't pay much attention to our release schedule.
- zokier 6y agoThis seems like a good place to ask. I saw this comment[1] few weeks back > This is one of the superior aspects of FreeBSD: no parsing of human-readable strings to get back machine-readable information about the process table. It's available directly in machine-readable form via sysctl(). And started wondering how deep does that go in (Free)BSD? Is all info available in neat strucured format programmatically, or are there other places where you'd need to do Linux-like parsing of special files? Is there some good reading material of this aspect of the system? I hope this isn't too inflammatory Linux vs BSD question, I did not intend value judgement on either approach. [1] https://news.ycombinator.com/item?id=23425867 https://news.ycombinator.com/item?id=23425867
- toast0 6y agoAs a long time user, this feels like something that's true but not. The userland tools to dump kernel information (ps, ifconfig, etc) get back binary data from the kernel, not human readable strings, so it's true, but other programs that might need that information would often be expected to call the same tools and then parse the human readable forms until the recent inclusion of libxo can provide machine readable outputs. libxo was added in FreeBSD 11.0, and I'm not sure how far it's been implemented; when I was still managing a large fleet of FreeBSD machines, we had a bunch of 10.x, so it didn't makes sense to update our scripts to use libxo.
- JdeBP 6y agoviraptor was talking about C programs having to parse human-readble strings from /proc in Linux to get machine-readable data. That the output of the `ps` command is only human-readable is a complete red herring. That's not what a C program would use, and not the C API that viraptor was talking about.
- trasz 6y agoI think this comes from the different development model. Passing machine-readable stuff instead of parsing strings is convenient, but requires cooperation between parties, usually the kernel and the userspace. In FreeBSD it's trivial: I can change the kernel, userspace, and documentation all in a single commit. In Linux it's much more involved - you never know which userspace version is going to interface with whatever you've tinkered with; people who put together distributions are separate from actual developers of various parts etc.
- colordrops 6y agoBSD threads are similar to PHP threads. Most comments are speaking judgementally about the overall quality of the product rather than the post itself, though in the case of BSD the judgment is overwhelmingly positive rather than negative.
- iso-8859-1 6y agoPHP? Are you referring to the programming language? What do you mean by "PHP threads"?
- spijdar 6y agoI take it to mean HN discussions, like this one. Not threads as in process threading, which is what I thought at first.
- colordrops 6y agoYes that is correct.
- deleted 6y ago[deleted]
- centimeter 6y agoDuring quarantine I decided to set up some networking equipment with FreeBSD whereas historically I’d have used Linux. Wow! What an improvement! Everything is so much cleaner, easier, faster to set up. I don’t have to screw around as much to make it boot and install on headless hardware. I can boot off a ZFS root volume. Networking is simple and clear to configure. Documentation is great. I don’t think I’ll use Linux again in the future when setting up a server, if I can avoid it.
- efxhoy 6y agoWhat kind of networking equipment? I'm thinking of ditching pfsense and going bare freebsd or pfsense for my home router box and a few more anecdotes of similar projects would be nice to hear.
- tofaz 6y agoHappy FreeBSD user here. I personally use a Protectli FW1 with FreeBSD 12.1 and PF (Kernel recompiled with ALTQ support for QoS) and it works very well! I tried to move to OpenBSD to get the latest PF features/syntax but unfortunately the interfaces are dropping packets and no one on the OpenBSD mailing list have been able to help me. Unfortunately for me I'm not a programmer so I'm not able to contribute/fix it myself but I have to rely on the community/devs. I have reverted back to FreeBSD 12.1 and still being super happy with it!
- centimeter 6y agoMy home router and firewall. Was really great to set up! A fraction of the config required for Linux.
- zomg 6y agoi don't use freebsd regularly these days but i happily donate to the foundation each year. keep up the great work!
- vmsp 6y agoIt's a shame the popular VPS providers, like Linode and DigitalOcean, don't support easy installations of FreeBSD (and other BSDs). Does anyone know of trustworthy hosting solutions that make things easy?
- octotoad 6y agoDO has supported FreeBSD for years now.
- kevans91 6y agoYeah, this... though it'd be awesome if they updated their setup for working ZFS boot environments OOTB. Last I checked they were setting vfs.root.mountfrom explicitly in /boot/loader.conf.local, which is not stellar. =-(
- dijit 6y agoUsed FreeBSD on Vultr for nearly 5 years at this point. It works, they used to have issues with DHCP services, but that would have been linux too. It seems to be resolved now.
- trasz 6y agoHow about AWS? Creating FreeBSD instance is trivially easy.
- MaxBarraclough 6y agoThis seems to be largely due to the efforts of Colin Percival. [0] Have to know where to find the AMIs though. [1] Amazon doesn't make this as easy as they might. [0] https://www.patreon.com/cperciva https://www.patreon.com/cperciva [1] https://lists.freebsd.org/pipermail/freebsd-cloud/2019-February/000200.html https://lists.freebsd.org/pipermail/freebsd-cloud/2019-Febru...
- cperciva 6y agoI'm missing something here. We have lists of AMIs in every release announcement, and FreeBSD is also in the AWS Marketplace. (Also, for the automation nerds, there's an SNS notification which goes out every time we publish new AMIs.) What would you like to see changed?
- zepearl 6y agoI changed the OS of my NAS a few weeks ago (from "Gentoo Linux" to "Linux Mint") to FreeBSD (mainly to have a "better ZFS" - I read only later that apparently both Linux & BSD ZFS are being merged?) and the installation and configuration has been very smooth (currently up and stable with e.g. Xfce, gkrellm => just a simple NAS). I miss only the "nmon" utility but apparently it's possible to "port" almost any Linux program automatically to FreeBSD Linux apps => I might have a look at that.
- gorgoiler 6y agoRecently, a certain unmentionable trend in Linux system software makes me really want to try FreeBSD again. What’s the state of the art for unprivileged containers? I’m very keen on containers that look very similar to the host OS as they make excellent environments for teaching pupils about the OS, especially if the container host can fake them into being “root” in their container.
- loeg 6y agoPart of the security premise of FreeBSD Jails is that jailed root cannot escape. So, jails are a lighter-weight container which satisfies that need. They can (and often do) look very similar to the host OS. I think the gold standard here is hypervisors, and if you want to go that route, Bhyve is satisfactory for many workloads. But jails should be somewhat lighter overhead.
- RNCTX 6y agoI too used FreeBSD for many things between 4x and 10.x, but have made the switch to Ubuntu in the past couple of years. Things I miss: 1) Jails without having to have a hypervisor system, Linux doesn't really have anything comparably as easy to use particularly with the iocage project managing the jails. 2) ZFS out of the box supported at at lower level than modules and user tools. ZoL has come a ways but Linux's political opposition to it is always going to be a weight around its neck. FWIW I am using a ZFS pool that has never been wiped/recreated since FreeBSD 8. It was created on that OS and has been migrated between Linux/BSD twice over a span of 11 to 12 years. Things I don't miss: 1) The lack of file/directory monitoring libs and third party applications because, honestly, kqueue sucks. 2) While simple SysV init was simple 15 years ago systemd has come a long way. I hate to admit it, but systemd is the better way at this point because I like having my daemons restart themselves without third party monitors. 3) Brain drain is real, it seems the last time I used FreeBSD that port maintainers are running thin and I don't have a suggestion for how to attract more of them. For many years FreeBSD's package/port system was the best in the world (yes, better than the Linux alternatives like apt and rpm too). I think pkgng's rollout was bungled, though, and while it may be better now it seems to have a lingering cost in port maintainers.
- xxpor 6y agoI didn't think there was any political opposition to ZoL other than the fact that its licence is incompatible with the GPL, and outside of a complete clean room rewrite, there's really nothing anyone can do about it. It's not like you're going to convince Oracle to relicence it.
- yjftsjthsd-h 6y ago> I didn't think there was any political opposition to ZoL other than the fact that its licence is incompatible with the GPL, and outside of a complete clean room rewrite, there's really nothing anyone can do about it. I suppose it depends on how you mean that, but I probably disagree; when Greg KH can say, "My tolerance for ZFS is pretty non-existant" [0], and Torvalds says, "Don't use ZFS. It's that simple. It was always more of a buzzword than anything else, I feel... [the] benchmarks I've seen do not make ZFS look all that great. And as far as I can tell, it has no real maintenance behind it any more..." [1], we've gone well beyond "they just can't merge it because of licensing" and into "[political] opposition". > It's not like you're going to convince Oracle to relicence it. I've always wondered at this, actually; why doesn't Oracle relicense it? BTRFS, AFAIK, was started at Oracle but basically flopped; why on earth do they not simply bring over the far-superior ZFS codebase to replace it? They can't possibly be trying to protect Solaris the way Sun did; they've killed off >90% of the Solaris team [2] and AFAIK have made exactly zero effort to sell Solaris for years now. Why wouldn't they get ZFS upstreamed into Linux and make it a core feature of OEL (or whatever they were using BTRFS for)? [0] https://marc.info/?l=linux-kernel&m=154714516832389&w=2 https://marc.info/?l=linux-kernel&m=154714516832389&w=2 [1] https://arstechnica.com/gadgets/2020/01/linus-torvalds-zfs-statements-arent-right-heres-the-straight-dope/ https://arstechnica.com/gadgets/2020/01/linus-torvalds-zfs-s... [2] https://fortune.com/2017/09/05/oracle-layoffs-hardware-solaris/ https://fortune.com/2017/09/05/oracle-layoffs-hardware-solar...
- darksaints 6y agoI've been mulling over a decision to add a dedicated server for my postgres usage in my home server cluster. Ideally I'd like something rock solid stability and that doesn't require a lot of maintenance, and FreeBSD is definitely a candidate. Low resource usage, fast networking, and native ZFS are great benefits. Does anybody here run postgres on FreeBSD? Any gotchas to look out for? Is performance comparable to linux? Anything to look out for when using NVMe flash drives?
- huxflux 6y agoI love FreeBSD! It's such an amazing project. Just updated from FreeBSD 5.0 all the way up to 11.4 without any issues whatsoever. Tremendous.
- sidkshatriya 6y ago"FreeBSD 11.4-RELEASE Announcement [...] Some of the highlights: The clang, llvm, lld, lldb, and compiler-rt utilities as well as libc++ have been updated to upstream version 10.0.0. [...]" I found this interesting. Seems like FreeBSD is more pragmatic than OpenBSD. They are using the latest and greatest llvm/clang series. For license related reasons OpenBSD is stuck on an older version of gcc. I understand that OpenBSD has now _also_ become stuck on an older clang/llvm due to license changes there too. In the long run, not upgrading the compiler is going to hurt OpenBSD a lot, I think. A lot of mitigations are now built in the compiler and languages (e.g. C++) are accumulating features at quite a fast pace. I was wondering if users of OpenBSD have thoughts on the above. Do you think its a bit deal? What is the solution? How does OpenBSD not get left behind as a platform? Or is this older clang/llvm issue only relevant for the core system and pkgs would have latest clang/llvm? P.S. It seems llvm on pkgs is still 8.0.x https://github.com/openbsd/ports/tree/master/devel/llvm https://github.com/openbsd/ports/tree/master/devel/llvm
- unixhero 6y agoSounds like the winds of the fork are blaring. Trim the sails!
- psychoslave 6y agoI think that that sticking to some principles is great. Not dropping them at the first difficulty is what proves that your are indeed sticking to it. OpenBSD is not dying, and even grab the interest of notable figures such as Carmack recently. Not everybody is running after the last shiny feature. I don't mean that in a condescending way: there is room for all approaches.
- anthk 6y agoYou seem to not know OpenBSD a lot. They backported and patched a lot of stuff into GCC 4.2. Clang will get the same threatament.
- sidkshatriya 6y agoI’m aware they maintain forks and patches for many packages. However development resources are always precious! Now openbsd needs to devote them to backporting from rapidly evolving llvm. Effort that could have been spent elsewhere. Also note that backporting may be unfeasible in some cases I’m guessing because changes to latest llvm/clang may be under the new unacceptable license. Openbsd might need to make their own modifications. I’m not making a value judgement whether it was good or not to not accept new llvm license. Just making an observation that this is going to be a drag on the project.
- bromonkey 6y agoRolled up to 11.4 a bit ago, easy and painless as ever. Thanks to all the devs that put time into this OS.