Kevin Chadwick <ma1l1i...@yahoo.co.uk> wrote:
>On Wed, 18 May 2011 17:41:32 +0000
>annathemerm...@hush.com wrote:
>
>> I'm just trying to make it take advantage of the swap
>> encryption (random keys unlike a single key I have to remember 
the
>> password for);
>
>bioctl or vnconfig and /dev/urandom maybe useful here

So you are suggesting I create a boot-time script to do the 
following every time my computer starts:
1. Create a softraid or svnd encrypted partition with a key from 
/dev/urandom (without overwriting existing data)
2. Open it.
3. Create a new ffs filesystem on it.
4. Mount the new ffs filesystem, async most likely.

Well, it's a horribly convoluted idea, not at all elegant like an 
mfs or a tmpfs, but if one doesn't mind the long boot time while 
OpenBSD creates the new ffs filesystem, it ought to work.

Stuart Henderson <s...@spacehopper.org> wrote:
>On 2011-05-18, annathemerm...@hush.com <annathemerm...@hush.com> 
wrote:
>>> In -current it has been bumped to 2GB so you'll be able to use
>>> more there.
>>
>> A bit below, but now it works. I'm quite happy with stable. 
Unless
>> current fixes my X11 keyboard issues, I'd rather not deal with
>> current unless I have a second hard disk to play with. I suppose 
if
>> I ever temporarily need more space in /tmp I'll just have to set 
up
>> a softlink to /var/tmp or somewhere.
>>
>> However, is there any way to get mfs to use swap first rather 
than
>> memory first?
>
>I don't think so. (And afaik mfs doesn't give memory back once
>you've used it, at least without umounting).

Oh well.

Stuart Henderson <s...@spacehopper.org> wrote:
>>                                    If I tell xorg.conf to use kbd
>> or akbd, it doens't work at all, but if I tell it to use 
keyboard,
>> sometimes it randomly decides not to notice that I've pressed
>> certain keys, and is particularly reluctant to recognize the
>> backspace key. Sometimes, it becomes convinced I am holding a key
>> down even when I am not: this is particularly annoying when it
>> thinks I'm holding the down arrow key. None of these issues occur
>> when not running X.org.
>
>This sounds rather like the behaviour you get when you need to
>disable /dev/ttyC0 (see /usr/X11R6/README).

It states:
"The wsfb driver uses whatever graphics mode the console is set to
(by Mac OS) as a dumb unaccelerated framebuffer in 8 bits per pixel.
You should be able to use 'startx' or xdm to start X without further
configuration.

"To use xdm from rc.conf, it is necessary to disable /dev/ttyC0 in
/etc/ttys, change the 'status' of /dev/ttyC0 to 'off'."

I don't want to use xdm from rc.conf. I want to start it from the 
console on an as-needed basis. I don't actually like X.org. I find 
it annoying and bloated, but nonetheless, a necessary evil. Thus, I 
don't want it to start when my computer starts: I want to call on 
it when I have need of graphical programs.

Reply via email to