register_blk_dev seems to do nothing during boot for /dev/mtdblock0

Kári Davíðsson kd at medcare.is
Fri Mar 14 00:21:46 EST 2003


Hi,

If you are using devfs, it is called /dev/mtdblock/0 _not_ /dev/mtdblock0.

Do not forget to mount the devfs on boot.

Regards,

K.D.

> -----Original Message-----
> From: "Callebaut, Benoît" [mailto:benoit.callebaut at barco.com]
> Sent: 13. mars 2003 13:11
> To: Linuxppc-Embedded (E-mail)
> Subject: register_blk_dev seems to do nothing during boot for
> /dev/mtdblock0
>
>
>
> I placed the function devfs_find_handle after registering the
> filesystem in
> the read only block driver for MTD devices.
> It returns zero and I never see a mtdblock0 entry appaering
> in /dev/ Why
> must I use MAKEDEV to do that.
> Notes that I can use MAKEDEV in my case since I want to mount
> my cramfs
> filesystem at boot up.
>
> --------------------------------------------------------------
> --------------
> ------
> Benoit Callebaut
> Software Development Engineer
> Barco | Control Rooms
> Noordlaan 5, 8520 Kuurne, Belgium
>
> Tel 	+32(0)56 36 84 28
> Fax 	+32(0)56 36 86 05
>
> mailto:benoit.callebaut at barco.com
> http://www.barcocontrolrooms.com
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list