rpjday wrote:

>   i've been playing with building ram disks in memory (not to
> be confused with anything to do with "initrd").  so i can build
> a ram disk with:
>
>   # dd if=/dev/zero of=/dev/ram0 bs=1k count=1024    (1M ramdisk)
>   # mke2fs /dev/ram0
>   # mount /dev/ram0 /mnt/floppy  (silly place to mount, but valid)
>
>   at this point, i can, of course, copy stuff into that ramdisk
> since it's just a separate filesystem.  a friend of mine used to
> do this under solaris and copy in all the C header files since
> he was compiling all day long, and having the header files in
> memory made pre-processing lightning fast.
>
>   the question:  is there a command that will show me currently
> allocated in-core ram disks?  after all, i can build more with
> /dev/ram1, /dev/ram2, etc.  i'm sure ram disk usage will show
> up in the output of the "free" command, but is there some
> command which shows just ram disks?  or perhaps something under
> /proc that i haven't noticed?

what doe ps -axv show?  Anything useful?

> and how does one *deallocate*
> them, short of rebooting?
>

Is there a process associated with these?

>
>   and while we're on the subject, does anyone use these on
> a regular basis?  just curious.
>

No, but I have been considering dinking with it to preload graphics
files.


Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to