Skip to content

Commit f5abc8e

Browse files
Fabian Fredericktorvalds
authored andcommitted
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>
1 parent c108373 commit f5abc8e

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

‎Documentation/blockdev/ramdisk.txt‎

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,30 @@ allowing one to squeeze more programs onto an average installation or
3636
rescue floppy disk.
3737

3838

39-
2) Kernel Command Line Parameters
39+
2) Parameters
4040
---------------------------------
4141

42+
2a) Kernel Command Line Parameters
43+
4244
ramdisk_size=N
4345
==============
4446

4547
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
4751

48-
ramdisk_blocksize=N
49-
===================
52+
rd_nr
53+
=====
54+
/dev/ramX devices created.
5055

51-
This parameter tells the RAM disk driver how many bytes to use per block. The
52-
default is 1024 (BLOCK_SIZE).
56+
max_part
57+
========
58+
Maximum partition number.
5359

60+
rd_size
61+
=======
62+
See ramdisk_size.
5463

5564
3) Using "rdev -r"
5665
------------------

0 commit comments

Comments
 (0)