RAM disk

Greg Freemyer greg.freemyer at gmail.com
Mon Jan 17 18:04:50 EST 2011

On Mon, Jan 17, 2011 at 5:07 PM, Ugu Barr jr. <ugubarr at mail.com> wrote:
> Hi there,
> I would like to study the code of the Linux RAM Disk.
> Could someone, please point me where to start.
> Thanks,
> Ugu

Do you just want to look at the code?

If so: the linux kernel source browser is nice starting point.


I put ram disk in the search box and one of the first results was the
internal kernel doc file for the ram disk:


That file is a little out of date because it talks about rdev, which
was deleted from util-linux last summer I think.  I don't know what
tool / process takes it's place.

If you figure it out, write a patch to the doc file and get your name
memorialized in the kernel git log!

A little more poking around at lxr.linux.no gets you to

Which I think is the source code your looking for.


More information about the Kernelnewbies mailing list