9 ms·
FreeBSD 12.1
- jandrese 7y ago> The trim(8) utility has been added, which deletes content for blocks on flash-based storage devices that use wear-leveling algorithms. [r344688] Is this replacing an older utility or is FreeBSD way behind on supporting SSDs?
- LeoPanthera 7y agoTrim support has been built in to ZFS since FreeBSD 10. Presumably, this utility is useful for disks that are not ZFS formatted.
- takeda 7y agoFreeBSD is issuing TRIM in ZFS and UFS2 for quite a while. When I was researching the topic, I learned that how TRIM is implemented on the drives, issuing it in bulk is more efficient than individually, so perhaps that's why the tool was added? Although looking at ZFS at least it looked like it also collects blocks that supposed to be TRIMmed and issues it periodically.
- m11r 7y agoTRIM has been available in FreeBSD for mounted ZFS filesystems for quite a while, since ~Sep 2012 in 10-CURRENT[1]. I believe this is just a user space command for manually TRIM'ing in cases where it doesn't have explicit filesystem support. [1]: https://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/all-about-zfs.html#idp49249016 https://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/all-ab...
- drewg123 7y agoThis is to erase an entire device. Filesystem support for trim has been present for many years.
- trasz 7y agoSupport for TRIM in ZFS, UFS (kernel), or fsck (userspace) has been in place for years, but there was no easy way to tell “TRIM all this whole device now”.
- thijsvandien 7y agoFreeBSD is amazing, and a major reason for that is how well it is managed. I would find it very hard to name three other open-source projects of comparable size that are so well-organized and have consistently delivered for this long. Here's a warm shoutout to the FreeBSD Foundation, as well as your reminder to donate: https://www.freebsdfoundation.org/donate/ https://www.freebsdfoundation.org/donate/
- MuffinFlavored 7y agoMy train of thought went "hmm, I wonder if FreeBSD would be good to use in production for running some Docker containers" and I stumbled across this https://wiki.freebsd.org/Docker https://wiki.freebsd.org/Docker > Docker's currently broken. that leads to this: https://reviews.freebsd.org/D21570 https://reviews.freebsd.org/D21570
- kazen44 7y agoto be fair, freebsd had something like docker for decades. Jails have existed for a long time and are easy to use.
- MuffinFlavored 7y agoThis is a great point. I know https://wiki.freebsd.org/bhyve https://wiki.freebsd.org/bhyve is massively popular/successful too.
- pm7 7y agoReally? I used bvyhe on FreeNAS and it was awful comparing to KVM or ESXi.
- mikece 7y agoJails are “similar” to Docker but they aren’t quite the same: https://blog.jessfraz.com/post/containers-zones-jails-vms/ https://blog.jessfraz.com/post/containers-zones-jails-vms/
- paulddraper 7y agoThat link has near zero substance. Jails and Docker are different, but they are both used for process isolation.
- rhizome 7y agoClear as mud. I know the author is a known person, but that style of writing is pretty bad for this topic.
- cperciva 7y agoThis release is dedicated to the memory of Kurt Lidl, a long time BSD developer, who died on October 10th from metastatic kidney cancer: https://www.freebsdfoundation.org/blog/in-memory-of-kurt-lidl/ https://www.freebsdfoundation.org/blog/in-memory-of-kurt-lid...
- rootbear 7y agoI was sad to see that in the release notes, I had not heard. I remember Kurt from the Old Days, when I went to some open houses at UUNET and attended Usenix conferences.
- cperciva 7y agoIt was very sudden -- it seems like it was just a few weeks from "Kurt has cancer" to "Kurt is in a hospice" to "Kurt died". :-/
- naniwaduni 7y ago> BearSSL has been imported to the base system. [r343281] Exciting. Is it being used for anything yet?
- cperciva 7y agoI believe it was imported so that it could be used by code-verification bits in the boot loader and exec calls. I'm pretty sure those aren't turned on by default yet, but my understanding is that Juniper uses them.
- sebiw 7y agoBeen running Linux servers for years. FreeBSD is what gave me back the passion to run servers. It's such a well structured operating system. The documentation is just great and Jails are a really nice way to get lightly isolated environments to run different web services. Thanks to all the people who make FreeBSD possible!
- cpach 7y agoI hear you. TBH, most popular Linux distros feels very bloated nowadays. The other day I created a VM and there I installed FreeBSD for the first time. The process was really quick. It felt like a breath of fresh air. Much much simpler than what I had imagined. Everything felt very logical. I have thought about this before but since I already knew Linux I was hesitant to take the time to learn another Unix-like OS. But now I feel that I want to carve out some more free time to get more acquainted with FreeBSD. I’m quite sure it will pay off in the end.
- jackyb 7y agoIs there a 300-page or less book that can teach practical usage of FreeBSD? Like the C book or the UNIX programming environment book. I have it installed on one of my laptops but never got around to use it.
- ianai 7y agoThere’s the FreeBSD handbook. Iirc it and the forums help the most. And the usual google. https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
- jackyb 7y agoThanks. I'm aware of that handbook but somehow I find web-based books lack the charm of a real book but eventually once I know my way around it, I'm sure I'll come to it.
- ianai 7y agoThere’s a two part book available on Amazon from the FreeBSD documentation project titled FreeBSD Handbook. Meant for going from 0 knowledge and up.
- blackhaz 7y agoYes, "Absolute FreeBSD" by Michael W. Lucas: https://nostarch.com/absfreebsd3 https://nostarch.com/absfreebsd3
- jackyb 7y agoOh thank you very much!
- thijsvandien 7y agoCurrently part of a Humble Bundle: https://www.humblebundle.com/books/linux-bsd-bookshelf-2019-books https://www.humblebundle.com/books/linux-bsd-bookshelf-2019-...