PATCH: ability to build blkmtd into the kernel and still use it

Stephan Linke Stephan.Linke at epygi.de
Fri Apr 12 05:35:17 EDT 2002


Hint: It is (theoreticaly) possible to add a new device in init/main.c if
you are missing one. (I did so.) They make a simple mapping of names to
major/minor device numbers.

Stephan

> ...
>
>
> Hi,
>
> The blkmtd.c in 2.4.18 should already have the code in it to take a kernel
> argument (blkmtd_device).
>
> The reason you cant use /dev/discs/... is because you may not
> have a root fs
> at the time the module is initialised in the kernel (esp if you are
> using the device as the root device). Therefore the only names allowed
> are those sepecified in init/main.c (ie you have to use the non
> devfs name)
> When compiled and built into the kernel it uses name_to_kdev_t to get the
> major/minor.
>
>
> cheers
> si
>
> >
> > ...
> >
>
> ...





More information about the linux-mtd mailing list