On Mar 18, 2013, at 6:46 AM, Simon Hollenbach wrote:
Hello.
I set up an encrypted partition with randomly regenerated password
that I want to mount at /tmp with some older(6w) wheezy netinstall.
Apparently I need to create a file system there before mounting on
every boot, don't I?
I wrote myself a little mount script, that:
Tries to mount ("mount /dev/mapper/sda2_crypt /tmp" )
Failing:ensures umount, calls mkfs.ext3 and retries mount without
failure check.
I plan on running this while booting, but don't know at which
runlevel. Help?
But I am now asking myself if I need it or if I overlook some handy
option with mtab or cryptsetup or..? Any input is highly
appreciated, thanks for reading.
Kind Regards,
Simon
Take a look at the "cryptmount" package. Maybe it does what you're
looking for?
Rick
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/958ff128-bb8c-4b2e-a897-2d6e4b039...@pobox.com