Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Any ideas for making an OpenBSD usable (how to turn off logs, "put os into memory"?) on a SDHC or an microSDHC card? Since full-disk encryption is not really a solution under OpenBSD so I though I would be more keen on physical protection, so I will install/use my "desktop os" on an SDHC or a microSDHC card.

share|improve this question
up vote 4 down vote accepted

The generally accepted practice for installing onto a flash device is the same as installing onto any other disk. The entire OpenBSD base system will readily fit in 1GB of space. It will likely be harder to find a flash device that small than to get OpenBSD installed on it.

As far as turning off logging, don't worry about it, just let them be written to your flash card, it is not likely to kill the card. Alternatively, send your logs to a remote host, or mount /var onto a different filesystem.

Also, when you boot, the OS is loaded into memory for you... no extra tweaking required.

There are official FAQ's on this.

Also, on the topic of boot disk encryption, a recent article on undeadly points out that it is possible; though, I would imagine, at the moment that procedure is not officially supported by OpenBSD.

share|improve this answer
thank you for the softraid link, usefull!! :) – LanceBaynes Jun 2 '11 at 21:18
@LanceBaynes You're welcome – gabe. Jun 3 '11 at 15:15

You are running OpenBSD as you're Desktop OS and you seem to have to deal with the fact that your IO isn't safe from prying eyes ? Well there Neo ;) ... I would suggest...

A simple cardreader, it's a scsi device in the end.

Get a Sandisk HD Video SDHC 32GB Class 6 card to make the 20Mb/s & don't forget the softdeps in the fstat man mount since you don't want to wait 4 days update the /usr/{src,ports} Also, since memory is so cheap these days, you might want to consider mounting the build/temp directory's using the ram filesystem. I would go for 32gb when I had to work from an SD card :P

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.