Re: RAM disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 17, 2011 at 5:07 PM, Ugu Barr jr. <ugubarr@xxxxxxxx> 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.

http://lxr.linux.no

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

http://lxr.linux.no/#linux+v2.6.37/Documentation/blockdev/ramdisk.txt

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
http://lxr.linux.no/#linux+v2.6.37/drivers/block/brd.c

Which I think is the source code your looking for.

Greg

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux