lkml.org 
[lkml]   [2002]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RAID superblock confusion
Mike Fedyk wrote:
[...]
> Ahh, but if you use initrd you can even have the ide and scsi drivers as
> modules.
>
> What is needed is to make the disk modules depend on the raid modules (only
> if the raid code is enabled of course) so that modprobe can load the raid
> modules first.
>
> Then you'd just need to make sure that if there are any block modules linked
> into the kernel that raid is also linked into the kernle instead of a module.
>
> Is there some reason why this wouldn't work (except for CML1
> complications...)?

Having block devices depend on raid modules isn't the solution.
A user may have many block devices with raid on only a few
of them.

I think this sort of setup-specific dependencies belong in userspace,
i.e. /etc/conf.modules:

pre-install <block-driver-with-raid-partitions> insmod
<raid-modules-needed>


Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.127 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site