From: Roger <rogerx.oss@gmail.com>
To: dm-crypt@saout.de
Subject: [dm-crypt] Auto Mounting when file accessed?
Date: Tue, 11 Jan 2011 20:34:35 -0900 [thread overview]
Message-ID: <20110112053435.GB5368@localhost2.local> (raw)
Is there a known method, when a user accesses a file/folder of an
unmounted dm-crypt partition, the action can spawn an attempt to automatically
mount this partition.
For the password prompt, as I constantly am working within a terminal and not
GUI desktop for obvious reasons, pinentry is commonly used for prompting in a
terminal or by GUI for a password when using GNUPG.
app-crypt/pinentry
http://gnupg.org/aegypten2/index.html
Any thoughts on this? (Kernel DBUS/UDEV script or something?)
The type of current setup targeted is a file containing an encrypted EXT3
filesystem using dm-crypt, for which is mounted to /mnt/crypt.
This is usually left in an unmounted state until wanting access to something
within /mnt/crypt/somefile/orfolder.
ie. "vi /mnt/crypt/myfile or abook /mnt/crypt/addressbook --datafile
/home/roger/.abook/addressbook"
I'm thinking, something within the dbus/udev (kernel script) is needed.
Another thought, what if TAB Bash Completion is used?
--
Roger
http://rogerx.freeshell.org/
next reply other threads:[~2011-01-12 5:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-12 5:34 Roger [this message]
2011-01-12 21:05 ` [dm-crypt] Auto Mounting when file accessed? Ma Begaj
2011-01-13 0:57 ` Roger
2011-01-13 1:14 ` Roger
2011-01-13 8:22 ` Aaron Lewis
2011-01-13 9:39 ` Roger
2011-01-13 10:00 ` Roger
2011-01-13 18:25 ` Arno Wagner
2011-01-14 9:12 ` Ma Begaj
2011-01-12 23:13 ` Arno Wagner
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=20110112053435.GB5368@localhost2.local \
--to=rogerx.oss@gmail.com \
--cc=dm-crypt@saout.de \
/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.