I passed this over the linux crypto list as it may have related to the
loop-aes code. Comment received from Jari Ruusu
<[EMAIL PROTECTED]> detailed below. I think that the
problem can be confirmed that umount parameter needs to match mount.
In this case, option (3) below is used in which case the loop device is
set up by the mount command. This means that "/dev/loop4" was *not*
mounted and should not be un-mounted. Specifically, nautilus should
executed "umount /media/usbdisk/fs" not "umount /dev/loop4".
--
> My fstab mount line represents the following:
>
> /media/usbdisk/.fs.ext3 --> /dev/loop4 --> /media/usbdisk/fs ext2
> file containing EXT3 filesystem --> loop device --> mounted EXT3
> filesystem
That is journaling file system on file backed loop.
loop-AES README section 2.2.
> The problem is that in the past, "umount /dev/loop4" worked, but NOT any
> more.
There are three ways to mount loop devices:
1) Do loop setup/teardown manually:
losetup -e AES128 -K foo.gpg /dev/loop4 /dev/hda999
mount -t ext3 /dev/loop4 /mnt
umount /mnt (or umount /dev/loop4 )
losetup -d /dev/loop4
2) Let mount/umount do loop setup/teardown for you:
mount -t ext3 /dev/hda999 /mnt -o
loop=/dev/loop4,encryption=AES128,gpgkey=foo.gpg
umount /mnt (or umount /dev/hda999 )
3) The fstab way, mount/umount do loop setup/teardown for you:
/etc/fstab line:
/dev/hda999 /mnt ext3
defaults,noauto,loop=/dev/loop4,encryption=AES128,gpgkey=foo.gpg,user=daniel 0 0
mount /mnt
umount /mnt (or umount /dev/hda999 )
> However mount shows:
>
> /media/usbdisk/.fs.ext3 on /media/usbdisk/fs type ext2
> (rw,nosuid,nodev,loop=/dev/loop4,user=daniel)
Looks like you used method (1) earlier and are now using method (3). umount
needs mountpoint directory or backing device that was used at mount time. If
you didn't mount /dev/loop4 device directly, then you should not expect
"umount /dev/loop4" to work either.
Try "umount /media/usbdisk/fs" or "umount /media/usbdisk/.fs.ext3"
--
Right click unmount (umount) of loop device fails
https://bugs.launchpad.net/bugs/84201
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs