HNHacker News
TopNewBestAskShowJobs

vermaden

4,309 karma · joined September 1, 2012

Another ${RANDOM} sysadmin.

BLOG: https://vermaden.wordpress.com/ TWIT: https://twitter.com/vermaden

DESC: FreeBSD BSD UNIX Linux Backup Restore Storage Clusters Distributed Desktop Laptop X11 ThinkPad AMIGA Shell POSIX ZSH ZFS

submissionscomments
vermaden··on FreeBSD switches the default root shell from csh to sh
I am not sure when Slowlaris term was introduced but I tried OpenSolaris many times on the same hardware that I run FreeBSD and it felt slower for each task ... from the boot process to typical tasks involved.

But I always liked SUN Solaris for its features and solutions.

vermaden··on FreeBSD switches the default root shell from csh to sh
It has its downsides unfortunately.
vermaden··on FreeBSD switches the default root shell from csh to sh
Depends how you use it.

If you just want to execute it then it is a footgun - using only the !command syntax.

If you use the !command:p syntax then you are just printing what command has been executed instead of invoking it.

Example.

    % uname
    FreeBSD
    
    % !uname
    uname
    FreeBSD
    
    % !uname:p
    uname
    
    %
vermaden··on Pop OS – System76
Yeah. ZFS is great for single disks for laptops.

With ZFS Boot Environments you are bulletproof on upgrades and major changes.

Moar here: https://is.gd/BECTL

vermaden··on Part of Windows 11 is a revamped Windows Subsystem for Linux
If you miss Docker then suggesting You the Jails here would not help but if you miss typical GNU commands then you can install them like that:

    # pkg install coreutils
Now you have all GNU utulities with 'g' prefix:

    % pkg info -l coreutils | grep bin
        /usr/local/bin/g[
        /usr/local/bin/gb2sum
        /usr/local/bin/gbase32
        /usr/local/bin/gbase64
        /usr/local/bin/gbasename
        /usr/local/bin/gbasenc
        /usr/local/bin/gcat
        /usr/local/bin/gchcon
        /usr/local/bin/gchgrp
        /usr/local/bin/gchmod
        /usr/local/bin/gchown
        /usr/local/bin/gchroot
        /usr/local/bin/gcksum
        /usr/local/bin/gcomm
        /usr/local/bin/gcp
        /usr/local/bin/gcsplit
        /usr/local/bin/gcut
        /usr/local/bin/gdate
        /usr/local/bin/gdd
        /usr/local/bin/gdf
        /usr/local/bin/gdir
        /usr/local/bin/gdircolors
        /usr/local/bin/gdirname
        /usr/local/bin/gdu
        /usr/local/bin/gecho
        /usr/local/bin/genv
        /usr/local/bin/gexpand
        /usr/local/bin/gexpr
        /usr/local/bin/gfactor
        /usr/local/bin/gfalse
        /usr/local/bin/gfmt
        /usr/local/bin/gfold
        /usr/local/bin/ggroups
        /usr/local/bin/ghead
        /usr/local/bin/ghostid
        /usr/local/bin/gid
        /usr/local/bin/ginstall
        /usr/local/bin/gjoin
        /usr/local/bin/gkill
        /usr/local/bin/glink
        /usr/local/bin/gln
        /usr/local/bin/glogname
        /usr/local/bin/gls
        /usr/local/bin/gmd5sum
        /usr/local/bin/gmkdir
        /usr/local/bin/gmkfifo
        /usr/local/bin/gmknod
        /usr/local/bin/gmktemp
        /usr/local/bin/gmv
        /usr/local/bin/gnice
        /usr/local/bin/gnl
        /usr/local/bin/gnohup
        /usr/local/bin/gnproc
        /usr/local/bin/gnumfmt
        /usr/local/bin/gnustat
        /usr/local/bin/god
        /usr/local/bin/gpaste
        /usr/local/bin/gpathchk
        /usr/local/bin/gpinky
        /usr/local/bin/gpr
        /usr/local/bin/gprintenv
        /usr/local/bin/gprintf
        /usr/local/bin/gptx
        /usr/local/bin/gpwd
        /usr/local/bin/greadlink
        /usr/local/bin/grealpath
        /usr/local/bin/grm
        /usr/local/bin/grmdir
        /usr/local/bin/gruncon
        /usr/local/bin/gseq
        /usr/local/bin/gsha1sum
        /usr/local/bin/gsha224sum
        /usr/local/bin/gsha256sum
        /usr/local/bin/gsha384sum
        /usr/local/bin/gsha512sum
        /usr/local/bin/gshred
        /usr/local/bin/gshuf
        /usr/local/bin/gsleep
        /usr/local/bin/gsort
        /usr/local/bin/gsplit
        /usr/local/bin/gstdbuf
        /usr/local/bin/gstty
        /usr/local/bin/gsum
        /usr/local/bin/gsync
        /usr/local/bin/gtac
        /usr/local/bin/gtail
        /usr/local/bin/gtee
        /usr/local/bin/gtest
        /usr/local/bin/gtimeout
        /usr/local/bin/gtouch
        /usr/local/bin/gtr
        /usr/local/bin/gtrue
        /usr/local/bin/gtruncate
        /usr/local/bin/gtsort
        /usr/local/bin/gtty
        /usr/local/bin/guname
        /usr/local/bin/gunexpand
        /usr/local/bin/guniq
        /usr/local/bin/gunlink
        /usr/local/bin/guptime
        /usr/local/bin/gusers
        /usr/local/bin/gvdir
        /usr/local/bin/gwc
        /usr/local/bin/gwho
        /usr/local/bin/gwhoami
        /usr/local/bin/gyes
vermaden··on I'm working on open source full time
"I'm working on open source full time" - writing that from a Mac ... :D
vermaden··on Authenticated Boot and Disk Encryption on Linux
I did not read the article but the FreeBSD bsdinstall(8) installer gives you the option to use the GELI full disk encryption with ZFS on top of it.

Its kinda similar to LUKS on Linux and will ask you for password in the bootloader.

Here are the details:

https://docs.freebsd.org/en/books/handbook/disks/#disks-encr...

Regards.

vermaden··on Ghost in the Shell – ZSH Setup
Thank you for sharing these suggestions :)

I will try them in my next 'free time' window and maybe add some update to the article.

Regards.

vermaden··on Ghost in the Shell – ZSH Setup
> The post is from 2018.

What do you mean by that sir? :)

vermaden··on Windows Subsystem for Linux GUI
If the host system is Linux then this can be called Windows Subsystem for Linux (the same thing that WINE does).

If the host system is Windows then its Linux Subsystem for Windows.

Please do not fuck with logic.

vermaden··on Ask HN: What type of personal NAS would you recommend?
These are mine backup boxes based on FreeBSD with ZFS and rsnc(1) for the transfer layer.

For the hardware I use MiniITX motherboards with low power 6W TDP CPU.

Disks are 2.5 4TB or 5TB in mirror on not depending in the needs.

- https://vermaden.wordpress.com/2019/04/03/silent-fanless-fre...

- https://vermaden.wordpress.com/2018/08/28/silent-fanless-fre...

Regards.

vermaden··on Poll: What's your main operating system, HN?
Since 16 years FreeBSD on home servers and desktop/laptops.

Used LibreELEC (Linux) for some time on Odroid C2.

vermaden··on The most underused browser feature: reader mode
Today's web is unusable without these two:

- uBlock Origin

- I Do Not Care About Cookies

The latter can also be configured for uBlock:

https://majkiit.github.io/polish-ads-filter/#i_dont_care_abo...

vermaden··on GNU nano is my editor of choice
FreeBSD has `/usr/bin/ee` (Easy Editor) so it does not need GNU Nano. But you can install GNU Nano with:

    # pkg install nano
vermaden··on How I store my files
ECC RAM is useful for ALL FILESYSTEMS - not just only for ZFS.

But from all filesystems ZFS works best of all when you do not have ECC RAM.

The 'requirement' that ZFS needs ECC RAM to work properly is one of the biggest myths of the Internet ...

vermaden··on Let’s Talk OpenZFS Snapshots
Yes, like that: https://is.gd/BECTL
vermaden··on Let’s Talk OpenZFS Snapshots
Like that: https://is.gd/BECTL

By using ZFS Boot Environments.

vermaden··on Let’s Talk OpenZFS Snapshots
Here: https://is.gd/BECTL
vermaden··on Let’s Talk OpenZFS Snapshots
Here: https://is.gd/BECTL
vermaden··on Let’s Talk OpenZFS Snapshots
... and Illumos stole Bhyve and Bootloader from FreeBSD? :)

IMHO implemented or ported is better word here.

vermaden··on Ask HN: How big of a concern is cloud provider vendor lock-in to you?
But FreeBSD has Bhyve ... you do not need KVM having Bhyve.
vermaden··on Execute Docker Containers as QEMU MicroVMs
> As a developer, are popular databases and applications pre-packaged as FreeBSD Jails so that I can spin one up on my laptop with a single command?

The closest you can get is BastilleBSD (framework for FreeBSD Jails) and their templates - available here:

https://github.com/BastilleBSD/templates https://bastillebsd.org/templates/

vermaden··on The future of data storage is still magnetic tape (2018)
What about these:

- https://ltoworld.com/products/unitex-lt70h-lto7-usb-3-0-ltfs...

- https://www.backupworks.com/unitex-LT60-LTO-6-USB3-Drive.asp...

vermaden··on The future of data storage is still magnetic tape (2018)
Hi,

how that LTO-7 drive is attached to the host? Is it USB 3.0 external drive or internal drive with additional controller?

Thanks.

vermaden··on Can't Unsee
Reminds me this one: https://imgs.xkcd.com/comics/kerning.png
vermaden··on AMD server CPUs capture highest market share gains from Intel in 15 years
FreeBSD did not disabled it by default but you can disable it with this:

% sysctl -d machdep.hyperthreading_allowed machdep.hyperthreading_allowed: Use Intel HTT logical CPUs

vermaden··on FreeBSD Journal – 2021/03-04 – FreeBSD 13.0
Direct PDF link here:

https://freebsdfoundation.org/wp-content/uploads/2021/05/mar...

vermaden··on Deep Diving into the Strengths of FreeBSD
More in depth list of unique FreeBSD features: https://vermaden.wordpress.com/2020/09/07/quare-freebsd/
vermaden··on X11 Universal File Opener and XDG Mess
Thanks, I intend to.

Any topics You would like to be covered?

vermaden··on OPNsense and HardenedBSD are parting ways
Not sure a great move here.

HardenedBSD have some additional security mechanisms that vanilla FreeBSD does not have:

https://vermaden.wordpress.com/2018/04/06/introduction-to-ha...

← PreviousPage 12 of 17Next →