Friday, May 31, 2019

Re: OpenBSD runs only in RAM from a USB Flash Drive

On May 30 17:40:11, soveran@vivaldi.net wrote:
> As a newbie to OpenBSD, I am delighted to have the chance to interact with
> the OpenBSD Mailing Lists community.
> Since I am about to install OpenBSD 6.5 (amd64) on a USB Flash Drive for the
> first time, I was wondering if anyone has a solution to the following
> conundrum.

Why? If this is your first OpenBSD installation,
keep it simple: install on a spare computer.

Do you need to have a portable installation
that you can carry around?

> In order to minimize wear on the USB Flash memory, is there a way to command
> OpenBSD to always run in RAM, and at shutdown to either save or not save the
> session to the USB Flash Drive.

Don't. A USB flash is a disk, just like any other disk.
Install on it like you would on any other disk.

> For instance, Precise Puppy Linux 5.7.1 has a package called Puppy Event
> Manager. Since Precise Puppy is programmed to run in RAM, you can select the
> 'Save Session' tab and enter the span of minutes for everything in RAM to be
> saved to the Precise Puppy SaveFile.
> Best of all, you can enter 0 minutes to only do a save at shutdown. Perfect
> for minimizing wear on a USB Flash Drive.

What 'wear'? What heavy IO are you going to be doing
on your usb flash installation? If you plan to do heavy io,
using USB flash is a mistake in the first place.

Jan

No comments:

Post a Comment