> Here's a feature I would like--anyone else seen something like this:
> I would like to be able to mount a ram disk in the filesystem,
> somewhat like an Amiga ramdisk.
> # cat /etc/fstab
> /dev/hda6 / ext2 defaults
> /dev/hda1 /boot ext2 defaults
> 8megs of physical memory /mnt/ramdisk ram defaults
> # mount /mnt/ramdisk
> This would be terribly convenient. Anyone else wondered about this?
I believe you'd have to create the filesystem, then mount the ramdisk.
This isn't something you can do automatically through your /etc/fstab
file, I'd make it part of my init.d sequence. AFAIK, Linux defaults
ramdisks to 4 MB, I haven't messed around enough to find out how to
bypass this limitation.
For the poster (above) asking what the advantages of a ramdisk would be,
over, say, a cached disk partition, my understanding is:
- A ramdisk is addressed as memory, not as a filesystem. On a
sufficiently volatile system, a given disk page will not remain in
cache for long.
- A ramdisk, OTOH, will be swapped out if system memory loads demand.
This swapped image is _still_ addressed as memory, which is faster
than the corresponding disk access.
....not that I've tested this myself, but that's the theory.
OTOH, a Sun E10K I used with 11GB RAM mounted as /tmp did perform fairly
What part of "Gestalt" don't you understand?
Welchen Teil von "Gestalt" verstehen Sie nicht?
11:01pm up 3 days, 10:29, 6 users, load average: 0.01, 0.08, 0.08