Messages in this thread |  | | From | Systemkennung Linux <> | Subject | Re: Encrypted "virtual" disk | Date | Tue, 11 Feb 1997 22:04:28 +0100 (MET) |
| |
Hi,
> > 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 ;-)
Ralf
-- A weird imagination is most useful to gain full advantage of all the features - manpage of amd(8).
|  |