compile error when using MEMREADOOB in do_mounts.c.

Thomas Gleixner tglx at
Fri Jan 3 03:52:32 EST 2003

On Friday 03 January 2003 08:56, Paul Wong wrote:
> Dear All,
>     I modified the init/do_mounts.c to want to skip the invalid block. and
> than make bzImage, that result say: undefined reference to 'ioctl'. What is
> the problem?
ioctl is part of userspace library. You can not use glibc functions inside the 

What's the deeper sense of  this modification ? Bad block handling is done by 
the filesystem and the mtd drivers.

linutronix - competence in embedded & realtime linux
mail: tglx at

More information about the linux-mtd mailing list