rule-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Rule-list] New Images using kernel 2.4.18-4


From: Michael Fratoni
Subject: Re: [Rule-list] New Images using kernel 2.4.18-4
Date: Tue, 21 May 2002 21:56:15 -0400
User-agent: KMail/1.4.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 21 May 2002 10:54 am, Feeley wrote:

> Possibly rdev could be used to set rootflags to "ro" ?  See man rdev.
> It's supposed to be deprecated and bootloaders are supposed to do the
> job instead.

Excellent idea. Unfortunatly, I tried that last night. :) It appears to 
not only be depreciated, but no longer seems to work. Setting rootflags 
to 0 didn't make a difference. (rdev -R /mnt/floppy/vmlinuz 0)

I think I found the answer, and I should have new images shortly. It 
appears the change is here:
address@hidden init]# ls /usr/src/linux-2.4.18-4/init
do_mounts.c  main.c  version.c

address@hidden root]# ls /usr/src/linux-2.4.9-31/init/
main.c  version.c

do_mounts.c does some new and interesting things.
Among them is mounting the initrd image read only.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzq+r8ACgkQn/07WoAb/SuMugCgiw9dQdoGB9YaduJxojl6Ld0j
9C0AoJId+YjWbRwfgfsiBCF57ieoU1d/
=5XjR
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]