lkml.org 
[lkml]   [1997]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Encrypted "virtual" disk
Date
> The only thing that I don't know about is the timeout unmount -- might 
> have to be an addition to loop-fs if it is not already there.
mount -t crypto /obscure /mnt/crypto&&(sleep $CRYPTO_TIMEOUT ;umount /mnt/crypto)

The above can be done automagically by an updated mount program or a wrapper
around mount (or set an at job, if at is installed and running). Getting it
to automagically unmount after a certain period of _non-use_, however, would
require support from the driver...which one might even put into user space
(just to get it out of the kernel) if you can loop mount a named pipe...

Keith

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.082 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site