[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Bug 194249] CDs/DVDs encrypted with LUKS are not correctly mounted



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=194249





--- Comment #14 from Till Maas <opensource till name>  2008-08-07 18:01:19 EDT ---
(In reply to comment #13)

> I can certainly make the CD contents visible by doing the following steps:
> MAPPER="cryptocd"
> CDROM=/dev/cdrom
> MOUNTDIR=/mnt/tmp
> LOOP=$(losetup -f)
> losetup $LOOP $CDROM && echo $LOOP >/tmp/loop_device
> cryptsetup luksOpen $LOOP $MAPPER
> mount /dev/mapper/$MAPPER $MOUNTDIR

This will not help to resolve the original problem, but you should not need to
use losetup here I guess. And you can probably use mount.crypt from pam_mount
to easily mount your cdrom with:

mount.crypt /dev/cdrom /mnt/tmp

umount.crypt /mnt/tmp should also work then.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]