×××× ××× 29 ××××× 2003, 23:53, ×××× ×× ××× Sharon Dagan:
> This partition is actually encrypted.
> If the machine is stolen while powered on and the partition is mounted,
> automatic unmounting will (hopefully) save the day.

Oh..

One thing simple that I would have done is put in a cronjob that runs every 5 
minutes or so. put in a shell script in that uses lsof to see if someone is 
holding open files on the partition. if it finds no open files it can unmount 
it immidietly or it can simply remember the timestamp or something and 
unmount it later. I'm sure you can figure out the exact policy you want.

-- 
Oded

::..
I'd rather you do it wrong, than for me to have to do it at all.


================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to