Bug 237797 - Dolphin cannot access floppy disk after it is mounted
Summary: Dolphin cannot access floppy disk after it is mounted
Status: RESOLVED UNMAINTAINED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-hal (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Alberto Villa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 10:35 UTC by Paul Worrall
Modified: 2018-09-04 15:49 UTC (History)
3 users (show)

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 Paul Worrall 2010-05-16 10:35:10 UTC
Version:           1.4 (using 4.4.3 (KDE 4.4.3), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.32-22-generic

1. Insert formatted floppy disk
2. Click on "Floppy Drive" in the Places panel, the disk becomes mounted and the contents is displayed. The icon does not change to show it is mounted.
3. Click on something else in the Places panel (e.g. Home)
4. Click back on "Floppy Drive", the contents of the disk is not displayed and dolphin reports"

"An error occurred while accessing 'Floppy Drive', the system responded: mount: /dev/fd0 already mounted or /media/floppy0 busy
mount: according to mtab, /dev/fd0 is already mounted on /media/floppy0"
Comment 1 Emilio 2010-06-27 14:25:44 UTC
I confirm it. Just unmounting the floppy disk will allow you to access it again.
Comment 2 Christopher Yeleighton 2010-09-11 01:52:22 UTC
The first time does not work either: the floppy disk gets mounted but Dolphin does not show its contents, neither at the first time nor at any further attempt.  I have to go to /media/floppy by hand.
Comment 3 Christopher Yeleighton 2010-11-18 08:47:37 UTC
The way to go:

floppy=/org/freedesktop/Hal/devices/platform_floppy_0_storage_platform_floppy

solid-hardware details $floppy

if StorageAccess.accessible then go to StorageAccess.path;
else { solid-hardware mount $floppy && repeat; }

Does not seem to be rocket science.

Besides, once the floppy disk is mounted, there is no UI to unmount it (which is essential for floppy disks), except for the command 

solid-hardware unmount $floppy
Comment 4 Paul Worrall 2010-11-18 19:22:54 UTC
For me, StorageAccess.accessible is "false" whether the floppy is mounted or not.
Comment 5 Christopher Yeleighton 2010-11-19 10:17:22 UTC
(In reply to comment #4)
> For me, StorageAccess.accessible is "false" whether the floppy is mounted or
> not.

Indeed, and StorageAccess.filePath is also empty.  Seems like TO DO for Solid.  As a workaround, query mount for Block.device.
Comment 6 Christopher Yeleighton 2012-05-01 02:00:33 UTC
Workaround: use <URL: floppy:/a/ >.
Comment 7 Alex Fiestas 2013-03-03 15:43:18 UTC
I don't own a floppy disk so I can't actually test this :/

Is this any better with kde 4.10?
Comment 8 Paul Worrall 2013-03-03 17:14:08 UTC
I no longer have a floppy drive either so can't test it either.
Comment 9 Alex Fiestas 2013-03-05 20:18:46 UTC
Meh... I will buy one tomorrow and see what happens.
Comment 10 Jonathan Riddell 2015-03-11 19:10:42 UTC
This bug is reported on libsolid which is the kdelibs4 version of the solid library.  It is now in maintenance mode.  If you think it should still be fixed in the KDE Frameworks 5 version of solid please move it to or report a bug on frameworks-solid.
Comment 11 Andrew Crouthamel 2018-09-04 15:49:02 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Please try again with the latest version and submit a new bug to frameworks-solid if your issue persists. Thank you!