lkml.org 
[lkml]   [2006]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [klibc 30/31] Remove in-kernel resume-from-disk invocation code
Date
Hi again.

(Excuse me replying to myself, but this might help someone else).

On Thursday 06 July 2006 11:45, Nigel Cunningham wrote:
> Is there a klibc howto somewhere? I tried googling for 'klibc howto',
> reading the files in Documentation/ and browsing your klibc mailing list
> archive before asking!

> What I'm wondering specifically is: Say a user needs to run some commands
> to set up access to encrypted storage before they can resume. At the
> moment, we'd tell them to put these commands and the echo > do_resume in
> their linuxrc (or init) script prior to mounting their root filesystem.
> Forgive me if I'm asking a stupid question but it's not immediately obvious
> to me how they would now do that. I'd much rather follow a simple howto
> than spend a good amount of time tracing function calls etc. I still see
> init/initramfs.c, and it mentions both CONFIG_BLK_DEV_INITRD and
> CONFIG_BLK_DEV_RAM. Would I be right in surmising that you can still have
> an initrd or ramfs to do such things as the above, after klibc has done its
> work? If not, is there some other way I'm ignorant of?

For the record, I've since discovered that what you really want is an
initramfs howto. I think I stuck with those old-fangled initrds for too long.
Better update my desktop from Mandrake 10 too :)... is there a pattern here?

Nigel
--
Nigel, Michelle and Alisdair Cunningham
5 Mitchell Street
Cobden 3266
Victoria, Australia
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-07-06 04:21    [W:0.073 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site