lkml.org 
[lkml]   [2012]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 2/2] brd: RAM block module is called 'brd'
    From
    Date
    The RAM block module is called 'brd' ever since commit
    9db5579be4bb5320c3248f6acf807aedf05ae143 ("rewrite rd"). Update its
    Kconfig entry accordingly.

    Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
    ---
    0) Of course this driver does have an 'rd' alias, see commit
    efedf51c866130945b5db755cb58670e60205d83 ("Add 'rd' alias to new brd
    ramdisk driver"). But its name is 'brd'.

    1) "modprobe rd" doesn't work anymore under Fedora 16, because of
    dracut:
    brd: Unknown parameter `md'

    See man 7 dracut.cmdline for all cmdline parameters that can trigger
    this error.

    2) "modinfo rd" doesn't work. Apparently one needs to feed modinfo the
    actual module name and not an alias. Is that by design?

    drivers/block/Kconfig | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
    index 2fd52ef..0899d5a 100644
    --- a/drivers/block/Kconfig
    +++ b/drivers/block/Kconfig
    @@ -376,7 +376,7 @@ config BLK_DEV_RAM
    during the initial install of Linux.

    To compile this driver as a module, choose M here: the
    - module will be called rd.
    + module will be called brd.

    Most normal users won't need the RAM disk functionality, and can
    thus say N here.
    --
    1.7.7.6


    \
     
     \ /
      Last update: 2012-08-21 18:21    [W:3.129 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site