hmm..
did you already got an answer?
whats wrong with:

mke2fs -i 1024 /dev/ram0 4096
mount -n -t ext2 -o defaults, nocheck /dev/ram0 /mnt/ram


?
you might want to think abit about decent checks on the size, the amount of 
memory available and whether there already is a ramdisk, etc
Ofcourse, is it really a good idea to let an rpm do this? Why not the startup 
script of the program?

Also, I think that any app that needs tmp space to be on a ramdisk should 
consider not using tmp files at all for that data (ie: its a bug).

d.

On Thursday 22 May 2003 19:08, Austin wrote:
> No answer yesterday, let me reword this...
>
> Does anyone know an easy way to create and mount a ramdisk filesystem in a
> %pre/%post macro?
>
> Austin


Reply via email to