Re: [9fans] /tmp in "ram disk"



On 5/31/07, andrey mirtchovski <andrey@xxxxxxxx> wrote:
can't you mount ramfs on / (before) and then create tmp inside ramfs?

Yes, I have also done this in the past. It gets kind of weird because
ramfs is one level ... at least that's my memory. So you can mkdir in
ramfs but things don't appear where you expect them to.

Or is my memory that bad?

OK, I'll try that once the machine I'm on comes back. It "went away"

ron
.



Relevant Pages

  • Re: controlling mmap()d vs read/write() pages
    ... If not then they are not memory attacks ... unmapped page cache file in memory, ... but that 1GB of RAM could surely be better used for the second file. ... P.S. Do we have an quotas on ramfs? ...
    (Linux-Kernel)
  • Re: controlling mmap()d vs read/write() pages
    ... If not then they are not memory attacks ... an unmapped page cache file in memory, ... but that 1GB of RAM could surely be better used for the second file. ... P.S. Do we have an quotas on ramfs? ...
    (Linux-Kernel)
  • Re: [PATCH] use tmpfs for rootfs v2
    ... ramfs and free some kernel memory. ... compared to having a ramfs root. ... I assume the memory usage of tmpfs and ramfs would ...
    (Linux-Kernel)
  • Re: [RFC PATCH 3/10] define page_file_cache
    ... On Wed, 7 Nov 2007, Rik van Riel wrote: ... When they get assigned a swap entry. ... Since ramfs pages cannot be evicted from memory at all, ...
    (Linux-Kernel)
  • [9fans] Union mount directory behavior?
    ... I don't actually know if this is incorrect behavior, ... term% ramfs -m /n/ram1 ... term% mkdir /n/ram1/test ...
    (comp.os.plan9)