Bug 331601 - Loop Device fails to clear when unmounted, so it gets listed multiple times
Summary: Loop Device fails to clear when unmounted, so it gets listed multiple times
Status: RESOLVED DUPLICATE of bug 319998
Alias: None
Product: dolphin
Classification: Applications
Component: panels: places (show other bugs)
Version: 4.11.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-28 08:54 UTC by kdebugs
Modified: 2014-03-01 11:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugs 2014-02-28 08:54:39 UTC
Loop Device mounts are never cleared when the volume is unmounted.  You have to close dolphin and open it again for it to go away.  If you do this frequently, they can really build up.  It's especially confusing if you're working with more than one loop device.

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin
2. Open Konsole, or a Konsole view in Dolphin
3. Run these commands (enter your password for sudo):
truncate -s 100M mydrive
mkfs.ext4 -FL TestFS mydrive
mkdir mymnt
while sleep 1 ; do
 sudo mount mydrive mymnt
 sleep 1
 sudo umount mymnt
done
Actual Results:  
Icon for "Loop Device" shows up in Places when ''mydrive" is mounted, but it doesn't go away when it is dismounted.  When you mount it again, a new entry is created.

Expected Results:  
The Loop Device entry should be cleared away when "mydrive" is unmounted.

Additionally, the label "Loop Device" isn't particularly helpful - it ought, rather, to use the volume label ("TestFS" in the example above.)
Comment 1 Frank Reininghaus 2014-03-01 11:29:39 UTC
Thanks for the bug report. This looks like an issue which has been reported already.

Please see the comments in the other report for ideas about what you can do to help find the root cause of this problem. Thanks.

*** This bug has been marked as a duplicate of bug 319998 ***