Thanks all for suggestions. I have got finally what I want.
I have created base ramdisk about 4Megs, then I'm fetching all other daemont/tools into the mfs disk ang run them. This solution works for now. 30.04.08, 01:58, "Daniel Ouellet" <[EMAIL PROTECTED]> > I guess what people try to tell you is that if you try to do custom > kernel, you are on your own. That was said already. > However, not knowing the problem you try to solved doesn't help either > trying to answer your question. > If they only think you need or want is a mount point that would be in > RAM and that you could use as a ramdisk, nothing special is needed and > sure not any custom kernel for this. > So, not knowing what you want to solved, is hard to offer anything good, > but you will not get help on doing custom kernel here really. This is > not Linux world. > Now if you only want a ram mount space, you can just read: > http://www.openbsd.org/cgi-bin/man.cgi?query=fstab&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html > As an example, right from the man page: > Change in /etc/fstab > #/dev/sd0f /tmp ffs rw,nodev,nosuid 1 2 > swap /tmp mfs rw,nodev,nosuid,-s=153600 0 0 > Would give you a mfs file system in ram, just like a ram disk. > It's that simple to do really and will be accessible right from reboot > as well. > Just for fun, a few years ago also, I did a RaidFrame setup where one > disk was the real drive and the second was RAM. Why, well simple. When > the system boot, the disk are not in sync, so the RaidFrame rebuilt the > mirror from the disk to the ram and then the sync was complete, I drop > the mount for the disk and yes the mirror was broken again, but then all > was running form RAM at that point going forward and it was simple and > fast like hell. That was for experiment and fun and it works. But it was > a pain to setup. Simple to use and very simple idea if you want. Works > well, but paint o setup the first time. > I might do that again when the new OpenBSD replacement for RaidFrame is > complete in the future that is already started, but not at the moment. > Anyway, just the mfs solution above might just be what you are after. > Not knowing your problem, I don't know if that would be it or not. > Give it a try anyway. Couldn't be simpler and sure nothing custom is > needed for that. > If that's not what you are after, then soryy for the noice and just hit > delete. > Best, > Daniel