FreeBSD Enterprise Storage at PBUG

Yesterday I was honored to give a talk about FreeBSD Enterprise Storage at the Polish BSD User Group meeting.

You are invited to download the PDF Slides – https://is.gd/bsdstg – available here.

bsdstg

The PBUG (Polish BSD User Group) meetings are very special. In “The Matrix” movie (which has been rendered on FreeBSD system by the way) – FreeBSD Used to Generate Spectacular Special Effects – details available here – its not possible to describe what the Matrix really is, one has to feel it. Enter it. The same I can tell you about the PBUG meetings. Its kinda like with the “Hangover” movie. What happens in Vegas PBUG meeting stays in Vegas PBUG meeting πŸ™‚

If you will have the possibility and time then join the next Polish BSD User Group meeting. You will not regret it :>

UPDATE 1 – Shorter Unified Version

The original – https://is.gd/bsdstg – presentation is 187 pages long and is suited for live presentation while not the best for later ‘offline’ view.

I have created a unified version – https://is.gd/bsdstguni – with only 42 pages.

EOF

Valuable News – 2020/02/10

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

The End of SPARC64 in the FreeBSD Kernel.
https://svnweb.freebsd.org/base?view=revision&revision=357455

OPNsense 20.1 Released.
https://forum.opnsense.org/index.php?topic=15664.0

NetBSD 9.0 RC2 Announced.
https://www.netbsd.org/releases/formal-9/NetBSD-9.0.html
https://blog.netbsd.org/tnf/entry/second_final_release_candidate_for

FDE on OpenBSD.amsterdam Opinionated VM.
https://www.tumfatig.net/20200203/fde-on-openbsd-amsterdam-opinionated-vm/

Hikari – FreeBSD Focused X11 Window Manager.
https://hub.darcs.net/raichoo/hikari
https://www.phoronix.com/scan.php?page=news_item&px=Hikari-X11-Wayland-2020

STOR2RRD 2.70 Available.
https://www.stor2rrd.com/note270.php

Bareos 19.2.5 Released.
https://www.bareos.com/en/company_news/bareos-19.2.5-en1.html
https://docs.bareos.org/bareos-19.2/Appendix/ReleaseNotes.html
https://www.bareos.com/en/press-releases.html?file=files/press/english/bareos_19.2.5-final_en.pdf

Install OpenBSD on Dedibox with Full Disk Encryption.
https://poolp.org/posts/2018-01-29/install-openbsd-on-dedibox-with-full-disk-encryption/

BSD Weekly – Issue 6.
https://bsdweekly.com/issues/6

Bastille 0.6 – 20200202 Release Notes.
https://www.reddit.com/r/freebsd/comments/ezmux0/bastille_0620200202_release_notes/

Install Sylius eCommerce Platform on FreeBSD 12.
https://www.vultr.com/docs/how-to-install-sylius-ecommerce-platform-on-freebsd-12

RawTherapee 5.8 Released.
http://rawtherapee.com/downloads/5.8/

BSD Now 336 – Archived Knowledge.
https://www.bsdnow.tv/336

ThinkPad T480 is My New Main Laptop which Runs FreeBSD.
https://genneko.github.io/playing-with-bsd/hardware/freebsd-on-thinkpad-t480/

Netdata Cloud on FreeBSD – First Impressions.
https://supratim-sanyal.blogspot.com/2020/01/netdata-cloud-on-freebsd-first.html

FreeNAS versus Unraid – Grudge Match.
https://youtube.com/watch?v=aXsRIrC5bjg

Setting Up Samba Server on NetBSD.
https://dressupgeekout.blogspot.com/2020/02/let-make-files-on-your-netbsd-machine.html

In Other BSDs for 2020/02/08.
https://www.dragonflydigest.com/2020/02/08/24114.html

LLDB Now Works on i386 on NetBSD.
https://blog.netbsd.org/tnf/entry/lldb_now_works_on_i386

Hardware

ThinkMods ExpressCard NVMe Adapter.
Add NVMe SSD to Your 2009-2013 ThinkPad.
https://thinkmods.store/
https://www.indiegogo.com/projects/thinkmods-expresscard-nvme-adapter#/

AMD Ryzen Threadripper 3990X 64 Core CPU Review.
https://www.anandtech.com/show/15483/amd-threadripper-3990x-review

AMD Ryzen Threadripper 3990X Review 64 Cores for Workstation.
https://www.servethehome.com/amd-ryzen-threadripper-3990x-review-64-cores-for-a-workstation/

AMD Ryzen Threadripper 3990X Offers Incredible Linux Performance.
https://www.phoronix.com/scan.php?page=article&item=3990x-threadripper-linux

Overclocker Pushes AMD Ryzen Threadripper 3990X 64 Cores to 5.5 GHz in World Record.
https://www.tomshardware.com/news/amd-ryzen-threadripper-3990x-overclock-record

Life

Tesla Fill Fuck You Up Remotely and Will Remove Features from Used Car without Any Notice.
https://jalopnik.com/tesla-remotely-removes-autopilot-features-from-customer-1841472617

EOF

Valuable News – 2020/02/03

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

FreeBSD Status Report 2019 Q4.
https://www.freebsd.org/news/status/report-2019-10-2019-12.html

How to Install GhostBSD 20.01.
https://youtube.com/watch?v=jqgeM330qqU

FreeBSD Had Very Busy End of 2019 Year with Numerous Advancements.
https://www.phoronix.com/scan.php?page=news_item&px=FreeBSD-Q4-2019-Update

FreeBSD Foundation 2019 Q4 Status Update.
https://www.freebsdfoundation.org/blog/freebsd-foundation-q4-2019-status-update/

FreeBSD Adds Support for AMD ZEN/ZEN+/ZEN2 Temperature Sensors to amdtemp(4) Module.
https://svnweb.freebsd.org/base?view=revision&revision=357190

Deploy Kubernetes Cluster on FreeBSD Bhyve (CBSD).
https://www.bsdstore.ru/en/articles/cbsd_k8s_part1.html

Monitoring OpenBSD using CollectD/InfluxDB/Grafana.
https://www.tumfatig.net/20180220/monitoring-openbsd-using-collectd-influxdb-grafana/

FreeNAS 11.3-RELEASE Available.
https://www.ixsystems.com/blog/library/freenas-11-3-release/

Latest TrueNAS and FreeNAS Release Delivers Wizards/Plugins/Accelerated Replication.
https://www.ixsystems.com/blog/truenas-and-freenas-11-3-release-pr/

BSD Weekly – Issue 5.
https://bsdweekly.com/issues/5

FreeBSD 12.2 Release Process.
https://www.freebsd.org/releases/12.2R/schedule.html

FreeBSD 11.4 Release Process.
https://www.freebsd.org/releases/11.4R/schedule.html

Performance Focused LibreOffice 6.4 is Available.
https://blog.documentfoundation.org/blog/2020/01/29/libreoffice-6-4/
https://wiki.documentfoundation.org/ReleaseNotes/6.4

FreeBSD Adds Support for PrivacyGuard on ThinkPad X1 Carbon 7th Gen.
https://svnweb.freebsd.org/base?view=revision&revision=357292

BSDNow 335 – FreeBSD Down Under.
https://www.bsdnow.tv/335

OPNsense 20.1 Released.
https://forum.opnsense.org/index.php?topic=15664.0

FreeBSD Implements Safe Memory Reclamation Feature for UMA.
https://svnweb.freebsd.org/base?view=revision&revision=357314

FreeBSD Ports just Landed Wine 5.0 Version.
https://svnweb.freebsd.org/changeset/ports/524678

Running OmniOS.
https://github.com/churchers/vm-bhyve/wiki/Running-OmniOS

In Other BSDs for 2020/02/01.
https://www.dragonflydigest.com/2020/02/01/24104.html

The powerlevel10k ZSH Theme.
https://github.com/romkatv/powerlevel10k

FreeBSD 12.1 on Thinkpad T60.
https://oesediez.blogspot.com/2019/11/freebsd-121-on-thinkpad-t60.html
https://oesediez.blogspot.com/2020/01/freebsd-121-on-thinkpad-t60-2.html

FreeBSD Docker Images.
https://github.com/pct/freebsd-docker-images

iHateRegex Regex Builder.
https://ihateregex.io/

Query Unicode Database from Command Line with uni Tool.
https://github.com/arp242/uni

Hardware

Cache Out – Leaking Data on Intel CPUs via Cache Evictions.
https://cacheoutattack.com/

Life

Today I Learned That Not Everyone Has Internal Monologue and It Has Ruined My Day.
https://ryanandrewlangdon.wordpress.com/2020/01/28/today-i-learned-that-not-everyone-has-an-internal-monologue-and-it-has-ruined-my-day/

Other

Why Lobste.rs is Better than Hacker News.
https://kevq.uk/why-lobste-rs-is-better-than-hacker-news/

Monoliths are the Future.
https://changelog.com/posts/monoliths-are-the-future

Google Maps Hacks.
http://www.simonweckert.com/googlemapshacks.html

EOF

Valuable News – 2020/01/27

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

BSD Weekly – Issue 4.
https://bsdweekly.com/issues/4

How to Back Up Google Drive to FreeNAS.
https://www.ixsystems.com/blog/backup-google-drive-to-freenas/

How to Setup FEMP Stack on FreeBSD 12.
https://www.howtoforge.com/how-to-setup-femp-stack-nginx-mysql-php-on-freebsd-12/

ZFS Boot Environments on FreeBSD Wiki.
https://wiki.freebsd.org/BootEnvironments

WINE 5.0 Announced.
https://source.winehq.org/git/wine.git/blob_plain/wine-5.0:/ANNOUNCE

Installing Plex Media Server on FreeNAS.
https://support.plex.tv/articles/installing-plex-media-server-on-freenas/

GhostBSD 20.01 Available.
https://www.ghostbsd.org/20.01_release_announcement

FreeBSD Updates ARM Scalability with 4-5% Faster buildkernel and System CPU ~13% Lower.
https://twitter.com/_msw_/status/1220088310443307008

Building FreeBSD File Server.
https://www.vmwareblog.org/building-freebsd-file-server/

GhostBSD Workstation – A Possibility!
https://youtube.com/watch?v=prfsW5d3Nhg

FreeBSD Project Under the Hood.
https://www.hostingadvice.com/blog/freebsd-project-under-the-hood/

Why You Should Migrate Everything from Linux to BSD (Part 1).
https://www.unixsheikh.com/articles/why-you-should-migrate-everything-from-linux-to-bsd.html

Why You Should Migrate Everything from Linux to BSD (Part 2).
https://www.unixsheikh.com/articles/why-you-should-migrate-everything-from-linux-to-bsd-part-2.html

Should You Migrate from Linux to BSD? It Depends.
https://fediverse.blog/~/AllGoodThings/should-you-migrate-from-linux-to-bsd-it-depends

Checking Out GhostBSD 20.01.
https://youtube.com/watch?v=GncpY9cBHzI

BSD Now 334 – Distrowatch Running FreeBSD.
https://www.bsdnow.tv/334

FreeBSD adds Support for Intel Speed Shift in cpufreq(4) Module.
“Technology to control frequency in hardware with hints from software.”
https://svnweb.freebsd.org/base?view=revision&revision=357002

GhostBSD 20.01 Overview.
https://youtube.com/watch?v=PIovgi3dbbM

SQLite is Serverless.
https://www.sqlite.org/serverless.html

Insights Why Hyperbola GNU/Linux is Turning into Hyperbola BSD.
https://itsfoss.com/hyperbola-linux-bsd/

Idealistic Future of HardenedBSD.
https://hardenedbsd.org/article/shawn-webb/2020-01-26/idealistic-future-hardenedbsd

In Other BSDs for 2020/01/25.
https://www.dragonflydigest.com/2020/01/25/24078.html

New Safe Memory Reclamation Feature in UMA on FreeBSD.
https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019866.html

Open Source Licenses in 2020 – Trends and Predictions.
https://resources.whitesourcesoftware.com/blog-whitesource/top-open-source-licenses-trends-and-predictions

Hardware

I2C in a Nutshell.
https://interrupt.memfault.com/blog/i2c-in-a-nutshell

Librem 5 Phone – Open Source Phone Shows the Cost of Being Different.
https://arstechnica.com/gadgets/2020/01/librem-5-phone-hands-on-a-proof-of-concept-for-the-open-source-smartphone/

Life

U.S. Drinking Water Widely Contaminated with Forever Chemicals.
https://www.reuters.com/article/us-usa-water-foreverchemicals/u-s-drinking-water-widely-contaminated-with-forever-chemicals-report-idUSKBN1ZL0F8

EOF

Valuable News – 2020/01/20

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

DistroWatch Switched from Debian Linux to FreeBSD [AMA].
https://www.reddit.com/r/freebsd/comments/eodhit/switching_distrowatch_over_to_freebsd_ama/
https://www.reddit.com/r/BSD/comments/eogcjo/switching_distrowatch_over_to_freebsd_ama/
https://distrowatch.com/dwres.php?resource=faq#mydistro
https://distrowatch.com/weekly.php?issue=20200120
https://toolbar.netcraft.com/site_report?url=https://distrowatch.com&refresh=1

Shop FreeBSD – Created by FreeBSD Foundation – Place to Order Merchandise.
https://www.zazzle.com/store/shopfreebsd

Stats on How Many Monthly People Committing to Various BSD Projects.
https://twitter.com/canadianbryan/status/1216893706655215616

FreeNAS 11.3-RC2 Available.
https://www.ixsystems.com/blog/library/freenas-11-3-rc2/

BSD Weekly 2020/01/15.
https://bsdweekly.com/issues/3

Running syslog-ng in BastilleBSD.
https://www.syslog-ng.com/community/b/blog/posts/running-syslog-ng-in-bastillebsd

Linux Kernel – CDDL – Related Issues.
https://softwarefreedom.org/resources/2016/linux-kernel-cddl.html

KDE Plasma 5.18 LTS Beta.
https://kde.org/announcements/plasma-5.17.90.php

BSD Now 333 – Unix Keyboard Joy.
https://www.bsdnow.tv/333

You Can Vote Now – 2019 LinuxQuestions.org Members Choice Awards.
https://www.linuxquestions.org/questions/2019-linuxquestions-org-members-choice-awards-129/?pp=50&sort=lastpost&order=desc&daysprune=-1

ConnectX-4 Lx on FreeBSD on 2 x AMD EPYC 7282 and 2 TB RAM and 24 x Micron 9300 MAX NVMe.
https://community.mellanox.com/s/question/0D51T000076tvV0/connectx4-lx-on-freebsd-on-amd-epyc-platform

Make Disk Image Formatted as ZFS/ext2/FAT All at Once with cursedfs.
https://github.com/pcd1193182/cursedfs

In Other BSDs for 2019/01/18.
https://www.dragonflydigest.com/2020/01/18/24058.html

PeerTube 1.4.1 on OpenBSD 6.6.
https://www.22decembre.eu/en/2019/12/09/peertube-14-openbsd/

Upgrading FreeBSD from 11.3 to 12.1.
Upgrading FreeBSD from 11.3 to 12.1

Many Ways to Launch FreeBSD in EC2.
https://www.daemonology.net/blog/2018-12-26-the-many-ways-to-launch-FreeBSD-in-EC2.html

FreeBSD is Amazing Operating System.
https://www.unixsheikh.com/articles/freebsd-is-an-amazing-operating-system.html

FreeBSD Presentations and Papers from LINUX.CONF.AU 2020.
https://papers.freebsd.org/2020/linux.conf.au/

Why You Should Migrate Everything from Linux to BSD.
https://www.unixsheikh.com/articles/why-you-should-migrate-everything-from-linux-to-bsd.html

Hardware

Look at Celerity 2nd Generation 496-Core RISC-V Mesh.
https://fuse.wikichip.org/news/3217/a-look-at-celeritys-second-gen-496-core-risc-v-mesh-noc/

AMD Ryzen Mobile 4000 Renoir Die Size.
https://www.anandtech.com/show/15381/amd-ryzen-mobile-4000-measuring-renoirs-die-size

Everything I Know About SSDs 2019.
http://kcall.co.uk/ssd/index.html

PinePhone Start Shipping – All You Need To Know.
https://www.pine64.org/2020/01/15/pinephones-start-shipping-all-you-want-to-know/
https://arstechnica.com/gadgets/2020/01/the-pinephone-starts-shipping-a-linux-powered-smartphone-for-150/

Trying Out Pinebook Pro $200 ARM Laptop.
https://www.jeremymorgan.com/blog/linux/pine64-pro-laptop-review/

Another Performance Hit After Intel Mitigation for CVE-2019-14615/SA-00314 Graphics Vulnerability.
https://www.phoronix.com/scan.php?page=article&item=intel-gen7-hit
https://www.reddit.com/r/hardware/comments/epdc4h/intels_mitigation_for_cve201914615_graphics/

Life

Other

Ask Hacker News – What Are the Best Unknown Books You Have Read?
https://news.ycombinator.com/item?id=22092108

EOF

Valuable News – 2020/01/13

The Valuable News weekly series is dedicated to provide summary about news, articles and other interesting stuff mostly but not always related to the UNIX or BSD systems. Whenever I stumble upon something worth mentioning on the Internet I just put it here.

Today the amount information that we get using various information streams is at massive overload. Thus one needs to focus only on what is important without the need to grep(1) the Internet everyday. Hence the idea of providing such information ‘bulk’ as I already do that grep(1).

UNIX

Announcing pkgsrc-2019Q4 Release.
https://mail-index.netbsd.org/pkgsrc-users/2020/01/06/msg030130.html

Anonymous FTP Server on OpenBSD.
https://jpmens.net/2020/01/06/anonymous-ftp-server-on-openbsd/

Relaxing the 32-Node Restriction on MinIO.
https://blog.min.io/relaxing-the-32-node-restriction-on-minio/

Announcing HyperbolaBSD Roadmap (Based on OpenBSD).
https://www.hyperbola.info/news/announcing-hyperbolabsd-roadmap/

FreeBSD UFS Encryption.
https://www.youtube.com/watch?v=lfIXnmI_2UA

NomadBSD 1.3 Install and Review – Part 2.
https://www.youtube.com/watch?v=M7xsa4MP9qs

Why is November 17 (Wednesday) of 1858 is Base Time for OpenVMS/VAX/VMS?
https://www.slac.stanford.edu/~rkj/crazytime.txt

Configure Apache HTTP with MPM Event and PHP-FPM on FreeBSD 12.0.
https://www.digitalocean.com/community/tutorials/how-to-configure-apache-http-with-mpm-event-and-php-fpm-on-freebsd-12-0

Welcome broot file manager to see and navigate directory trees alternatively.
https://github.com/Canop/broot

BSD Now 332 – BSD Hyperbole.
https://www.bsdnow.tv/332

Installing Hunspell on FreeBSD and macOS.
https://rubenerd.com/installing-hunspell-on-freebsd-and-macos/

Central Log Host with syslog-ng on FreeBSD.
https://blog.socruel.nu/freebsd/a-central-log-host-with-syslog-ng-on-freebsd.html

OpenBSD Will Consciously Provide Firefox Package with MFSA2020-03 Security Hole.
https://undeadly.org/cgi?action=article;sid=20200109141600

FreeBSD Journal 2019/11-12 – Network Virtualization.
https://www.freebsdfoundation.org/past-issues/network-virtualization/
https://cdn.coverstand.com/33057/645584/fa2a2208cb6008f22f5d4298a6d00b6b4fb38ca9.7.pdf

In Other BSDs for 2020/01/11.
https://www.dragonflydigest.com/2020/01/11/24004.html

Practical Guide to Containers on FreeNAS for Depraved Psychopath.
https://medium.com/@andoriyu/a-practical-guide-to-containers-on-freenas-for-a-depraved-psychopath-c212203c0394

KDE FreeBSD 2020.1.
https://euroquis.nl/freebsd/2020/01/11/freebsd.html

StrateΒ­gic Mediating or What I Mediate What Now We Enjoy to Murder to Retain FreeBΒ­SD RelΒ­eΒ­vant.
https://techngadgetnews.com/strategic-mediateing-or-what-i-mediate-what-now-we-enjoy-to-murder-to-retain-freebsd-relevant/

FreeBSD Desktop – Part 20 – Configuration – Unlock Your Laptop with Phone.
https://vermaden.wordpress.com/2020/01/09/freebsd-desktop-part-20-configuration-unlock-your-laptop-with-phone/

Run broot on FreeBSD.
https://vermaden.wordpress.com/2020/01/10/run-broot-on-freebsd/

Nextcloud 17 on FreeBSD 12.1.
https://vermaden.wordpress.com/2020/01/04/nextcloud-17-on-freebsd-12-1/

Hardware

FanlessPro Turemetal UP10 12kg All Aluminum Fanless Case with 20 Heat Pipes.
https://www.fanlesspro.com/shop/product/fanless-cases/turemetal-up10-fanless-case/

Fully Silent PCs Custom Silent Computers Available for Sale.
https://www.fullysilentpcs.com/

AMD Keynote Presentation Press Event at CES 2020.
https://www.anandtech.com/show/15333/amd-keynote-presentation-press-event-at-ces-2020-the-anandtech-live-blog

Intel Prototyping PCIe 4.0 SSDs but Needs AMD CPUs to Test Them.
https://www.techspot.com/amp/news/83402-intel-prototyping-pcie-40-ssds-but-needs-amd.html

AMD Ryzen 4000 Mobile APUs – 7nm 8-core on 15W and 45W – Coming 2020Q1.
https://www.anandtech.com/show/15324/amd-ryzen-4000-mobile-apus-7nm-8core-on-both-15w-and-45w-coming-q1

AMD 64-Core Threadripper 3990X for $3990 – Coming 2020/02/07.
https://www.anandtech.com/show/15318/amds-64core-threadripper-3990x-3990-sd

Pinebook Pro Hardware Accessory Compatibility.
https://wiki.pine64.org/index.php/Pinebook_Pro_Hardware_Accessory_Compatibility

Life

Farmers Prefer 40 Years Old Tractors to Be Able to Repair Them.
http://www.startribune.com/for-tech-weary-midwest-farmers-40-year-old-tractors-now-a-hot-commodity/566737082/

Why American Farmers Hack Their Tractors with Ukrainian Firmware.
https://www.vice.com/en_us/article/xykkkd/why-american-farmers-are-hacking-their-tractors-with-ukrainian-firmware

Other

Firefox 72 Released.
https://www.mozilla.org/en-US/firefox/72.0/releasenotes/

DuckDuckGo is Now Default Search Engine Option on Android in EU.
https://www.searchenginejournal.com/duckduckgo-is-now-a-default-search-engine-option-on-android-in-the-eu/343073/#close

EOF

Run broot on FreeBSD

The broot file manager is quite fresh and nice approach to files and directories filtering/searching/view/manipulation/… and whatever else you call messing with files πŸ™‚

The broot tools is not yet available on the FreeBSD systems (as package or port).

This guide will show you how to built and install it on your FreeBSD system.

Here is how it looks in action.

Filter for jails.

broot-filter-jails.jpg

Filter for zfs.

broot-filter-zfs.jpg

It has ‘size mode’ when started with -s option similar to ncdu(1) tool.

broot-filter-size.jpg

You can also check the Feature Showcase section on their GitHub page – https://github.com/Canop/broot – available here.

Build

There are three steps to make it happen.

1. You need to install the rust package.

# pkg install rust

Then you need to type (as regular user) the cargo install broot command.

% cargo install broot

It will fail here:

broot-fail.jpg

You will need to apply this patch below:

% diff -u \
  /home/vermaden/.cargo/registry/src/github.com-1ecc6299db9ec823/crossterm-0.14.1/src/terminal/sys/unix.rs.ORG \
  /home/vermaden/.cargo/registry/src/github.com-1ecc6299db9ec823/crossterm-0.14.1/src/terminal/sys/unix.rs
--- /home/vermaden/.cargo/registry/src/github.com-1ecc6299db9ec823/crossterm-0.14.1/src/terminal/sys/unix.rs.ORG  2020-01-10 23:41:29.825912000 +0100
+++ /home/vermaden/.cargo/registry/src/github.com-1ecc6299db9ec823/crossterm-0.14.1/src/terminal/sys/unix.rs      2020-01-10 23:41:07.703471000 +0100
@@ -33,7 +33,7 @@
         ws_ypixel: 0,
     };
 
-    if let Ok(true) = wrap_with_result(unsafe { ioctl(STDOUT_FILENO, TIOCGWINSZ, &mut size) }) {
+    if let Ok(true) = wrap_with_result(unsafe { ioctl(STDOUT_FILENO, TIOCGWINSZ.into(), &mut size) }) {
         Ok((size.ws_col, size.ws_row))
     } else {
         tput_size().ok_or_else(|| std::io::Error::last_os_error().into())

Then type cargo install broot command again. It will now properly compile.

% cargo install broot
    Updating crates.io index
  Downloaded broot v0.11.6
  Downloaded 1 crate (1.6 MB) in 2.89s
  Installing broot v0.11.6
   Compiling libc v0.2.66
   Compiling cfg-if v0.1.10
   Compiling lazy_static v1.4.0
   Compiling autocfg v0.1.7
   Compiling semver-parser v0.7.0
   Compiling autocfg v1.0.0
   Compiling proc-macro2 v1.0.7
   Compiling log v0.4.8
   Compiling scopeguard v1.0.0
   Compiling unicode-xid v0.2.0
   Compiling bitflags v1.2.1
   Compiling syn v1.0.13
   Compiling memchr v2.2.1
   Compiling arc-swap v0.4.4
   Compiling slab v0.4.2
   Compiling smallvec v1.1.0
   Compiling serde v1.0.104
   Compiling unicode-width v0.1.7
   Compiling regex-syntax v0.6.13
   Compiling ansi_term v0.11.0
   Compiling strsim v0.8.0
   Compiling vec_map v0.8.1
   Compiling id-arena v2.2.1
   Compiling custom_error v1.7.1
   Compiling glob v0.3.0
   Compiling open v1.3.2
   Compiling umask v0.1.8
   Compiling thread_local v1.0.0
   Compiling minimad v0.6.3
   Compiling lazy-regex v0.1.2
   Compiling semver v0.9.0
   Compiling lock_api v0.3.3
   Compiling crossbeam-utils v0.7.0
   Compiling crossbeam-epoch v0.8.0
   Compiling num-traits v0.2.11
   Compiling num-integer v0.1.42
   Compiling textwrap v0.11.0
   Compiling rustc_version v0.2.3
   Compiling memoffset v0.5.3
   Compiling iovec v0.1.4
   Compiling net2 v0.2.33
   Compiling dirs-sys v0.3.4
   Compiling parking_lot_core v0.7.0
   Compiling signal-hook-registry v1.2.0
   Compiling time v0.1.42
   Compiling atty v0.2.14
   Compiling users v0.9.1
   Compiling quote v1.0.2
   Compiling aho-corasick v0.7.6
   Compiling mio v0.6.21
   Compiling dirs v2.0.2
   Compiling directories v2.0.2
   Compiling parking_lot v0.10.0
   Compiling clap v2.33.0
   Compiling crossbeam-queue v0.2.1
   Compiling crossbeam-channel v0.4.0
   Compiling toml v0.5.5
   Compiling term v0.6.1
   Compiling regex v1.3.3
   Compiling signal-hook v0.1.12
   Compiling chrono v0.4.10
   Compiling crossterm v0.14.1
   Compiling simplelog v0.7.4
   Compiling crossbeam-deque v0.7.2
   Compiling thiserror-impl v1.0.9
   Compiling crossbeam v0.7.3
   Compiling thiserror v1.0.9
   Compiling termimad v0.8.9
   Compiling broot v0.11.6
    Finished release [optimized] target(s) in 4m 56s
  Installing /home/vermaden/.cargo/bin/broot
   Installed package `broot v0.11.6` (executable `broot`)
warning: be sure to add `/home/vermaden/.cargo/bin` to your PATH to be able to run the installed binaries

% echo $?
0

Install

Now go to the ~/.cargo/bin directory and copy the broot binary to some place that is set in your ${PATH} variable.

Then start new terminal (updated ${PATH} variable) and type broot command.

% cp ~/.cargo/bin/broot ~/scripts
% rehash
% broot

You will be asked if automatic setup of the br function should tool place. I agreed with y answer.

broot-first-run.jpg

Here are things generated by this process.

% find ~/.config/broot
/home/vermaden/.config/broot
/home/vermaden/.config/broot/conf.toml
/home/vermaden/.config/broot/launcher
/home/vermaden/.config/broot/launcher/installed-v1
/home/vermaden/.config/broot/launcher/bash
/home/vermaden/.config/broot/launcher/bash/br

% find ~/.local/share/broot
/home/vermaden/.local/share/broot
/home/vermaden/.local/share/broot/launcher
/home/vermaden/.local/share/broot/launcher/fish
/home/vermaden/.local/share/broot/launcher/fish/1.fish
/home/vermaden/.local/share/broot/launcher/bash
/home/vermaden/.local/share/broot/launcher/bash/1

As I use ZSH shell it also updates my ~/.zshrc file.

% tail -3 ~/.zshrc

source /home/vermaden/.config/broot/launcher/bash/br

Finished. You now have broot installed and ready to use.

broot-filter-bhyve.jpg

UPDATE 1 – Now No Patches Are Needed

Thanks to the broot author any patches are now not needed.

It builds and works out of the box.

broot-update-fixed

UPDATE 2 – Its in Ports/Packages Now

The broot file manager is now available via usual FreeBSD Ports and packages which makes this guide pointless πŸ™‚

Its available as misc/broot port.

EOF

Β