9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] Booting with encrypted partitions
Date: Tue, 12 Nov 2019 22:54:37 +0100	[thread overview]
Message-ID: <2072D5F64C86C326359F41C953C1B7E6@felloff.net> (raw)
In-Reply-To: B0E769F36C892538837A92242C2B2E77@eigenstate.org

notice that this mechanism has nothing specitic to
disk/cryptsetup and is just a hook to get arbitrary
code run.

which is *FINE*. just in the wrong place for something
like cryptsetup and has the wrong name.

you see the main function in bootrc can get run multiple
times. which is not what you'd want i think.

... also what Ori said, the empty test is wrong.

but otherwise i'm not against such a hook, which could
be usefull for other things as well.

probably do it right after the configlocal line in boorc.
(and dont forget the </dev/cons redirection to make
prompts work).

any suggestions for a good name? $start? $setup?
$autoexec? $DEVICEHIGH?

the name probably depends on what OTHER hooks we'r going
to add in some strategic places. any suggestions?

--
cinap


             reply	other threads:[~2019-11-12 21:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12 21:54 cinap_lenrek [this message]
2019-11-12 23:51 ` petter9
  -- strict thread matches above, loose matches on Subject: below --
2019-11-13  5:07 ori
2019-11-13 11:45 ` hiro
2019-11-20 12:58 ` petter9
2019-11-12 20:57 ori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2072D5F64C86C326359F41C953C1B7E6@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).