Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5abc8e7 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

Documentation/blockdev/ramdisk.txt: updates



- ramdisk_blocksize doesn't exist anymore

- Module parameters added to documentation

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c1083732
Loading
Loading
Loading
Loading
+15 −6
Original line number Diff line number Diff line
@@ -36,21 +36,30 @@ allowing one to squeeze more programs onto an average installation or
rescue floppy disk.


2) Kernel Command Line Parameters
2) Parameters
---------------------------------

2a) Kernel Command Line Parameters

	ramdisk_size=N
	==============

This parameter tells the RAM disk driver to set up RAM disks of N k size.  The
default is 4096 (4 MB) (8192 (8 MB) on S390).
default is 4096 (4 MB).

2b) Module parameters

	ramdisk_blocksize=N
	===================
	rd_nr
	=====
	/dev/ramX devices created.

This parameter tells the RAM disk driver how many bytes to use per block.  The
default is 1024 (BLOCK_SIZE).
	max_part
	========
	Maximum partition number.

	rd_size
	=======
	See ramdisk_size.

3) Using "rdev -r"
------------------