www. O S N E W S .com
News Features Interviews
BlogContact Editorials
.
OpenBSD on a laptop
By Thom Holwerda on 2018-11-03 18:30:23

You won't find nearly as many online resources about setting up OpenBSD, because honestly, you really don't need any. Unlike much of Linux and FreeBSD, the included manuals are high quality, coherent, and filled with practical examples. You also need very little third party software to do basic tasks - almost everything you need is well-integrated into the base system.

You'll notice that many features that require toil to achieve on FreeBSD, such as suspend on lid close, working volume buttons, and decent battery life, work out of the box on OpenBSD. You can tell the developers actually use this thing on their personal devices.

And while the official OpenBSD FAQ has all you need to get an installation up and running, it takes a bit of grinding to massage the base installation into a seamless laptop experience. So, I wrote this guide to give you a jump start. Things should just work as long as you have a non-bleeding-edge, semi-mainstream laptop, but ThinkPads are your best bet. Enjoy!

 Email a friend - Printer friendly - Related stories
.
Read Comments: 1-10 -- 11-20 -- 21-22
.
RE: Needs TRIM
By cronenburger on 2018-11-05 10:48:58
Meh, doesn't bother me as I'm A) using a modern SSD with built-in wear levelling B) mount the ffs filesystem with noatime, softdep

Also, here is an older blogpost from one of the devs:
https://www.tedunangst.com/flak/p...
Permalink - Score: -1
.
RE[2]: No commitment to Social Justice and no COC...
By grat on 2018-11-05 14:34:05
> WTF is "social justice"???

A mob of politically correct people intent on forcing everyone else to conform to their ideals, usually by shaming on social media.

The problem is when standards are set by ideology, eventually you reach a point where no one meets the standard.
Permalink - Score: -1
.
RE[2]: No commitment to Social Justice and no COC...
By Bill Shooter of Bul on 2018-11-05 14:36:28
Being color blind in practice means ignoring the causes that lead to the injustice that still persist. Its like saying the only rule of a race should be the one that crossess the finish line first.

Seems fair right?

But the *only* rule? The guy strapped into a dodge daemon, will probably beat the guy that has ankle chains on every time. What would happen if they rules were modified to say that they had to use their own leg power and without any leg chains on?

I think those are the rules that everyone wants and they think that's what they are saying by " color blind". But it usually means they are prohibiting looking for leg chains or cars.
Permalink - Score: 5
.
except for..
By bamdad on 2018-11-05 15:13:56
this is all well and good, but since ZFS is not even planned because of some bollocks about licensing, the whole thing is a lot less appealing, however clean and well-structured it is.
Permalink - Score: 3
.
RE[2]: Needs TRIM
By stormcrow on 2018-11-05 17:31:22
As fffx said, wear leveling doesn't replace TRIM. They don't address the same physical condition. They're meant to work in tandem on modern SSD drives.

Wear leveling makes sure all cells wear at similar rates depending on storage patterns. It lowers the chances of data being stored in a dead or dying cell and therefore lost. This is a somewhat similar idea to legacy HDD firmware transparently moving data out of physical sectors starting to go bad and marking them unusable.

What TRIM does, however, has no mechanical drive equivalent. On NAND flash devices, TRIM marks the cells available for reuse as they can't be used again for new data until they are marked physically free. Early SSD drives lacked TRIM support and their lifetimes were short. TRIM extends the lifetimes of modern SSDs considerably. Since OpenBSD doesn't support TRIM operations, the lifetime of such devices is much shorter than it would be otherwise. It's true that wear leveling (assuming the filesystem doesn't use the entire device) can partly compensate for lack of TRIM, but you're still artificially limiting the drive's lifespan.

There's also a security aspect to TRIM that should appeal to the truly paranoid (oddly enough... that SHOULD be OpenBSD's central audience!): on some (many? -depends on firmware and how GC is implemented) SSDs the TRIM command flushes all cells that have invalid (deleted/erased) data making it entirely unrecoverable even by aggressive forensic methods.

For a quick rundown on TRIM and why it's needed, use considerations, and performance impact on SSDs you can just take a look at the wikipedia article.

https://en.wikipedia.org/wiki/TRI...
Permalink - Score: 4
.
RE[3]: Needs TRIM
By whartung on 2018-11-05 17:49:58
Any idea as to what's keeping it out of OpenBSD? TRIM has been around in the wild for quite awhile now, hasn't it?
Permalink - Score: 2
.
RE[3]: No commitment to Social Justice and no COC...
By grat on 2018-11-05 20:25:21
> WTF is "social justice"???

Or, another example is down-voting the living heck out of anyone who disagrees with you. :)
Permalink - Score: 3
.
RE[4]: Needs TRIM
By Drumhellar on 2018-11-06 01:59:24
They made two attempts, failed, and decided it was too difficult.
Permalink - Score: 3
.
RE: No commitment to Social Justice and no COC...
By zima on 2018-11-06 12:02:10
"COC"? Code of Conduct?
Permalink - Score: 3
.
RE[2]: Best with Intel graphics...
By zima on 2018-11-06 12:17:42
> Things should just work as long as you have a non-bleeding-edge, semi-mainstream laptop, but ThinkPads are your best bet.
> Unfortunately AMD graphics support is lagging quite a bit behind Intel on OpenBSD
> Even on Linux and Windows AMD support hasn't been stellar for older products from their lineup (including their APU lineup).
No luck for AMD-based Thinkpads. :(
Permalink - Score: 2

Read Comments 1-10 -- 11-20 -- 21-22

There are 2 comment(s) below your current score threshold.

No new comments are allowed for stories older than 10 days.
This story is now archived.

.
News Features Interviews
BlogContact Editorials
.
WAP site - RSS feed
© OSNews LLC 1997-2007. All Rights Reserved.
The readers' comments are owned and a responsibility of whoever posted them.
Prefer the desktop version of OSNews?