cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

need cryptsetup(1) #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
cryptsetup is undocumented

Original issue reported on code.google.com by cinap_le...@felloff.net on 1 Sep 2011 at 10:05

GoogleCodeExporter commented 9 years ago
Succeeded install with encrypted fsworm, fscache and other. Roughly: Proceed 
through install to mountfs prompt; !rc and configure fsworm, fscache and other 
partitions using cryptsetup(1); exit shell to resume the installer; specify 
/dev/fs/fsworm, etc., during mountfs; complete installation. On boot, !rc at 
the bootargs prompt and use cryptsetup(1) to mount partitions; exit the shell 
and resume boot from /dev/fs/fscache.

Original comment by stanley....@gmail.com on 23 May 2012 at 11:34

GoogleCodeExporter commented 9 years ago
Still no man page, but instructions for installing to encrypted partitions 
using cryptsetup have been added to the install wiki page: 
http://code.google.com/p/plan9front/wiki/install.

Original comment by stanley....@gmail.com on 2 Jun 2012 at 5:09

GoogleCodeExporter commented 9 years ago
good work.

some hints:

cryptsetup can take multiple files. so instead of
cryptsetup -f foo
cryptsetup -f bar
...

you can just:

cryptsetup -f foo bar baz

also, using plan9 partitions for the various filesystem
areas isnt really needed. (its just a limitation of the
installer right now)

you could create a single crypted partition and use a cwfs
configuration like:

cryptsetup -i /dev/sdC0/cwfs

...

filsys main cp"/dev/fs/cwfs"0.10p"/dev/fs/cwfs"10.90

this uses 10% for the cache and 90% for the worm. see
fsconfig(8).

maybe we should make the inst/mountcwfs more flexible
allowing these kind of configurations.

Original comment by cinap_le...@felloff.net on 2 Jun 2012 at 3:01

GoogleCodeExporter commented 9 years ago
Revision 48c5a2f3ef5b adds cryptsetup(8).

Original comment by stanley....@gmail.com on 11 Jul 2012 at 12:55

GoogleCodeExporter commented 9 years ago

Original comment by stanley....@gmail.com on 11 Jul 2012 at 12:56