By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1753 - Can't mount a floppy disk with TDEHWLIB
Summary: Can't mount a floppy disk with TDEHWLIB
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdelibs (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Slávek Banko
URL:
Depends on:
Blocks:
 
Reported: 2013-12-04 20:50 CST by Darrell
Modified: 2013-12-10 18:44 CST (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Image of dialog from floppy mount failure (15.84 KB, image/png)
2013-12-04 20:50 CST, Darrell
Details
tdelibs : Fix mount media without known filesystem (2.95 KB, patch)
2013-12-10 13:04 CST, Slávek Banko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2013-12-04 20:50:08 CST
Created attachment 1699 [details]
Image of dialog from floppy mount failure

I am able to mount a floppy disk in 3.5.13.2 but not in R14. My 3.5.13.2 system is HAL based. The 3.5.13.2 and R14 systems I tested are on the same computer, using the same floppy drive.

Floppy mounting worked at one time in R14 because I helped test much of the original tdehwlib code when first introduced.

In R14 I can mount the floppy from the command line.

See the attached image of the resulting dialog. I logged into Trinity as root and received the same dialog.

There are no floppy references in my fstab.

I mount the floppy using a desktop device icon. I "right-click" on the desktop icon and from the popup menu select Mount. I use the same method in my 3.5.13.2 system.

Monitoring my xsession-error log shows the following when attempting to mount:

[systemdirnotify] SystemDirNotify::init(mInited)
[systemdirnotify] SystemDirNotify::toSystemURL(media:/fd0)
[systemdirnotify] SystemDirNotify::init(mInited)
[systemdirnotify] SystemDirNotify::toSystemURLList(system:/media/fd0)
[systemdirnotify] SystemDirNotify::FilesChanged(system:/media/fd0)
[systemdirnotify] SystemDirNotify::init(mInited)
[systemdirnotify] SystemDirNotify::toSystemURL(system:/media/fd0)
[systemdirnotify] SystemDirNotify::init(mInited)
[tdeinit] Got EXEC_NEW 'tdeio_media' from launcher.
[tdehardwaredevices] Rules file /opt/trinity/share/apps/tdehwlib/deviceclasses/floppydisk-platform.hwclass used to set device subtype for device at path /sys/devices/platform/floppy.0/block/fd0/
[tdehardwaredevices] Rules file /opt/trinity/share/apps/tdehwlib/deviceclasses/floppydisk-platform.hwclass used to set device subtype for device at path /sys/devices/platform/floppy.0/block/fd0/
Comment 1 Darrell 2013-12-08 16:01:01 CST
Update: I can mount a floppy in R14 on a HAL system. I tested with R14 in Slackware 13.1.
Comment 2 Slávek Banko 2013-12-10 13:04:51 CST
Created attachment 1715 [details]
tdelibs : Fix mount media without known filesystem

I found that for the floppy is not detected file system. For mount command was subsequently used options for filesystem, but filesystem was not specified.

At the same time I also modified the reading error output. Now is not used only the first line, but the entire output.

Please test it.
Comment 3 Darrell 2013-12-10 15:56:52 CST
Yay! The patch works for me. Although the patch did not affect HAL systems, I verified that floppy mounting still worked with R14 on a HAL system. No problems there. Another "paper cut" gone. :-)
Comment 4 Slávek Banko 2013-12-10 18:44:04 CST
Fixed in GIT hash ef6c5d6f.