[lkml]   [1997]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Encrypted "virtual" disk

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

No kernel modification necessary. Just try to unmount the filesystem.
If it fails, try again later. And because this all already sound like
a part of the description of what amd does, why not using amd for that
purpose? (See my .signature ;-)


A weird imagination is most useful to gain full advantage
of all the features - manpage of amd(8).

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