All of lore.kernel.org
 help / color / mirror / Atom feed
From: Farkas Levente <lfarkas@bppiac.hu>
To: autofs@linux.kernel.org
Subject: run a script at umount
Date: Mon, 04 Sep 2006 11:41:56 +0200	[thread overview]
Message-ID: <44FBF4E4.6000609@bppiac.hu> (raw)

hi,
i use a few encrypted files as container for my encrypted data and use
few encrypted fs too (LUKS and truecrypt). currently there is no way to
simple use these file systems since (u)mount do not support these. i
wrote small scripts to use them. but it'd much easier if i can use
automount to mount these fs when i try to access them. eg. create a map
file which contains which fs should have to mount to which mount point
with which keyfile (usually i use key file form my pendrive). this can
be work, but the problem is umount. since auto map file contain only a
crypt which should have to called during mount, but no way (script) for
umount and all of these case is more than one umount (losetup,
cryptsetup, treycrypt etc call).
is there any way to do this with automount?
thanks in advance.
yours.

-- 
  Levente                               "Si vis pacem para bellum!"

                 reply	other threads:[~2006-09-04  9:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44FBF4E4.6000609@bppiac.hu \
    --to=lfarkas@bppiac.hu \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.