[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ramdisk support in OSKIT-MACH
From: |
Marcus Brinkmann |
Subject: |
Re: Ramdisk support in OSKIT-MACH |
Date: |
Fri, 28 Jun 2002 14:08:26 +0200 |
User-agent: |
Mutt/1.4i |
On Fri, Jun 28, 2002 at 01:46:34AM -0700, Ramesh wrote:
> Hi,
>
> Plz Anybody help me,
> How to give ramdisk support in "oskit-mach" ??
Ramdisk is not a kernel feature in the Hurd. It is entirely implement in
user space.
You can use the "copy" store on top of a "zero" store to get a memory-backed
file with a fixed size. Try
$ settrans -ac myramdisk /hurd/storeio copy:zero:16M
for a 6mb "ram disk" in myramdisk. There should now be an empty file with
16 MB, but it doesn't occupy any disk space, it is backed by ram (and if the
translator dies, the data will be lost).
An alternative is the tmpfs, but it is defunctional right now, I think.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de