9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Encrypting file systems
@ 2011-03-29 14:42 smiley at zenzebra.mv.com
  2011-03-29 14:54 ` Jacob Todd
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: smiley at zenzebra.mv.com @ 2011-03-29 14:42 UTC (permalink / raw)


Hello,

Back in 2009, someone on this list posted about encrypting /usr on a
Plan 9 laptop they had.  Does anyone know how to encrypt a file system
on Plan 9?  (I'm talking about encrypting the storage on disk, not just
the network connection to it.)

My intuition would be to look for a "crypt" command in the fs(3) driver.
But there doesn't seem to be any.  (And the man pages suggest that keyfs
only stores files 40 bytes in size?)  Yes, I know I could export a
device from another OS (like Linux), but I'm looking for a native Plan 9
solution.

How might one go about encrypting a Plan 9 file system, either at the
block level or file level?

Thanks!

-- 
+---------------------------------------------------------------+
|E-Mail: smiley at zenzebra.mv.com             PGP key ID: BC549F8B|
|Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B|
+---------------------------------------------------------------+



^ permalink raw reply	[flat|nested] 19+ messages in thread
* [9fans] encrypting file systems
@ 2011-03-29 23:24 erik quanstrom
  0 siblings, 0 replies; 19+ messages in thread
From: erik quanstrom @ 2011-03-29 23:24 UTC (permalink / raw)


> I've got a rejected-by-usenix paper somewhere about writing a 9p
> encryption fs which you could stack on anything that served 9p:

do you have a copy of this paper?  did you just rewrite a block-at-a-time?

- erik



^ permalink raw reply	[flat|nested] 19+ messages in thread
* [9fans] Encrypting file systems
@ 2011-03-31 12:01 erik quanstrom
  0 siblings, 0 replies; 19+ messages in thread
From: erik quanstrom @ 2011-03-31 12:01 UTC (permalink / raw)


> I thought I read somewhere that kfs was deprecated.  In one of the man
> pages?  On the wiki?  I don't recall.  It was about the old kfs file
> system being replaced by fossil...or something like that.

ken's file server (aka the plan 9 file server) is not kfs.  kfs is a stripped
down, stand-alone version with no history.  see /sys/doc/fs/fs.ps for
a somewhat terse overview of ken's file server.

i run several instances.  the big one at coraid handles a moderately-sized
company on relatively modest hardware.  it can push 100s of mb/s.
yet it lacks mp and 64-bit support.

in theory venti+fossil replaces ken's fs.  but in practice, there seem to
be lingering questions about fossil.

my personal opinion is that ken's fs does it's job very well, and competing
by reducing the amount of storage used (such as fossl+venti do in this
role) is hard to do today, especially if the result is more complicated.

clearly, to gain traction, you'll need a compelling story.  say, a properly
distrbuted file server.

- erik



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-05-12 10:03 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-29 14:42 [9fans] Encrypting file systems smiley at zenzebra.mv.com
2011-03-29 14:54 ` Jacob Todd
2011-03-30 17:19   ` smiley at zenzebra.mv.com
2011-03-30 17:25     ` erik quanstrom
2011-03-31  0:12       ` smiley at zenzebra.mv.com
2011-03-31 11:02         ` Steve Simon
2011-03-31 11:55           ` erik quanstrom
2011-03-31 20:35           ` [9fans] kfs: i'm not dead yet! Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-05-12 10:03             ` Akshat Kumar
2011-03-30 17:42     ` [9fans] Problem installing Chris
2011-03-30 18:37       ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-03-30 20:25       ` Jacob Todd
2011-03-31  3:43         ` Chris
2011-03-31  3:51           ` Lyndon Nerenberg
2011-03-30 20:22     ` [9fans] Encrypting file systems Jacob Todd
2011-03-29 15:06 ` ron minnich
2011-03-30 20:47 ` Mechiel Lukkien
2011-03-29 23:24 [9fans] encrypting " erik quanstrom
2011-03-31 12:01 [9fans] Encrypting " erik quanstrom

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).