Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation/blockdev/ramdisk.txt: updates

- ramdisk_blocksize doesn't exist anymore

- Module parameters added to documentation

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Fabian Frederick and committed by
Linus Torvalds
f5abc8e7 c1083732

+15 -6
+15 -6
Documentation/blockdev/ramdisk.txt
··· 36 36 rescue floppy disk. 37 37 38 38 39 - 2) Kernel Command Line Parameters 39 + 2) Parameters 40 40 --------------------------------- 41 + 42 + 2a) Kernel Command Line Parameters 41 43 42 44 ramdisk_size=N 43 45 ============== 44 46 45 47 This parameter tells the RAM disk driver to set up RAM disks of N k size. The 46 - default is 4096 (4 MB) (8192 (8 MB) on S390). 48 + default is 4096 (4 MB). 47 49 48 - ramdisk_blocksize=N 49 - =================== 50 + 2b) Module parameters 50 51 51 - This parameter tells the RAM disk driver how many bytes to use per block. The 52 - default is 1024 (BLOCK_SIZE). 52 + rd_nr 53 + ===== 54 + /dev/ramX devices created. 53 55 56 + max_part 57 + ======== 58 + Maximum partition number. 59 + 60 + rd_size 61 + ======= 62 + See ramdisk_size. 54 63 55 64 3) Using "rdev -r" 56 65 ------------------