summaryrefslogtreecommitdiffstats
path: root/Documentation/blockdev/ramdisk.txt
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-01-24 00:55:27 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 01:37:01 +0100
commitf5abc8e75815fc6e8f4635d2c011315d132a32cf (patch)
treecaf1a4a179d440e187eac41f5a1db3d048a2e25a /Documentation/blockdev/ramdisk.txt
parentDocumentation/filesystems/sysfs.txt: fix device_attribute declaration (diff)
downloadlinux-f5abc8e75815fc6e8f4635d2c011315d132a32cf.tar.xz
linux-f5abc8e75815fc6e8f4635d2c011315d132a32cf.zip
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>
Diffstat (limited to 'Documentation/blockdev/ramdisk.txt')
-rw-r--r--Documentation/blockdev/ramdisk.txt21
1 files changed, 15 insertions, 6 deletions
diff --git a/Documentation/blockdev/ramdisk.txt b/Documentation/blockdev/ramdisk.txt
index fa72e97dd669..fe2ef978d85a 100644
--- a/Documentation/blockdev/ramdisk.txt
+++ b/Documentation/blockdev/ramdisk.txt
@@ -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"
------------------