Great, Thanks. This is just what I'm asking for.

Thanks.

2009/8/22 Robert <[email protected]>

> On Fri, 21 Aug 2009 23:12:18 +0200
> Iqigo Ortiz de Urbina <[email protected]> wrote:
>
> > On Fri, Aug 21, 2009 at 2:03 PM, obvvbooo obvvbooo
> > <[email protected]>wrote:
> >
> > > Hi,
> > >
> > > Is there a way to use memory as a disk/partition? Such as mount it
> > > to /mnt/mem or such things. I can't find information of this in the
> > > man pages and after googled,
> >
> >
> > Havent tried this before but you should be able to create your own
> > ramdisks with rdconfig(8).
> >
> >
> > > I found "rd" for OpenBSD, which seems similar with "md"
> > > in FreeBSD. But still not useful. Anybody help?
> > >
> > > Thanks
> > >
> > >
> > Just wondering, how come it is not useful? Is it because your fresh
> > ramdisk is not immediately usable right after creating it?
>
> Wasn't this answered by the man page references?
>
> # grep ramdisk /etc/fstab
> swap /ramdisk mfs rw,nodev,nosuid,-s=2200000 0 0
>
> don't want to reboot?
> # mount /ramdisk
>
> don't want to have it on every boot? (for that there is no real reason,
> because it wont use ram until one puts actual data in there.)
> -> add the "noauto" option.
>
> - Robert

Reply via email to