diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-01-23 18:55:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 19:37:01 -0500 |
commit | f5abc8e75815fc6e8f4635d2c011315d132a32cf (patch) | |
tree | caf1a4a179d440e187eac41f5a1db3d048a2e25a | |
parent | c1083732908f233c5234a5c8765347602e83630c (diff) |
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>
-rw-r--r-- | Documentation/blockdev/ramdisk.txt | 21 |
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 | |||
36 | rescue floppy disk. | 36 | rescue floppy disk. |
37 | 37 | ||
38 | 38 | ||
39 | 2) Kernel Command Line Parameters | 39 | 2) Parameters |
40 | --------------------------------- | 40 | --------------------------------- |
41 | 41 | ||
42 | 2a) Kernel Command Line Parameters | ||
43 | |||
42 | ramdisk_size=N | 44 | ramdisk_size=N |
43 | ============== | 45 | ============== |
44 | 46 | ||
45 | This parameter tells the RAM disk driver to set up RAM disks of N k size. The | 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). |
49 | |||
50 | 2b) Module parameters | ||
47 | 51 | ||
48 | ramdisk_blocksize=N | 52 | rd_nr |
49 | =================== | 53 | ===== |
54 | /dev/ramX devices created. | ||
50 | 55 | ||
51 | This parameter tells the RAM disk driver how many bytes to use per block. The | 56 | max_part |
52 | default is 1024 (BLOCK_SIZE). | 57 | ======== |
58 | Maximum partition number. | ||
53 | 59 | ||
60 | rd_size | ||
61 | ======= | ||
62 | See ramdisk_size. | ||
54 | 63 | ||
55 | 3) Using "rdev -r" | 64 | 3) Using "rdev -r" |
56 | ------------------ | 65 | ------------------ |