is this a bug ?

Thomas Gleixner tglx at linutronix.de
Fri Aug 19 09:19:51 EDT 2005


On Sat, 2005-08-20 at 05:44 +0530, Ashwin Chaugule wrote:

> The following addition to do_mounts.c , did the trick.
> 
> + root_mountflags &= ~MS_RDONLY;
>    mount_block_root("/dev/root", root_mountflags);

Uurg. RTFM !

There are at least two sane ways to do that without touching the kernel
code.

- Documentation/kernel-parameters.txt (hint: rootflags)
- man mount (hint: remount)

tglx






More information about the linux-mtd mailing list