Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#5513 - Gnome/Nautilus does not handle floppy drives properly

Attached to Project: Arch Linux
Opened by Real Name (Michel F) - Tuesday, 03 October 2006, 15:37 GMT
Last edited by Jan de Groot (JGC) - Sunday, 13 May 2007, 18:24 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Whenever I double-click on the floppy icon in the "Computer" folder in Nautilus, it takes a long time (40 secs or so) to mount the floppy and when it is mounted, Nautilus does not display its content but rather displays the content of the root (/) folder.

However, the floppy is effectively mounted with /media/usbstick as mount point and mtab shows a cooresponding entry. This folder can be browsed and its content is correct.

My fstab file does not have any entry for floppy drives (/dev/fd0 in my case). If I put in it an entry for /dev/fd0 with /media/floppy as mount point, then Nautilus mounts the floppy immediately (1 sec or so) but still does not display its content but rather displays the content of the root (/) folder.

This behaviour is not what we should expect, i.e.:
1. Nautilus mounts immediately the floppy (wether there is an entry in fstab or not)
2. The mount point is /media/floppy
3. Nautilus shows the content of the mount point
(This is, for example, the behaviour of Kde/Konqueror.)

I have recently set-up a new Arch-Linux install. On top of the base install (and xorg), I installed the gnome and gnome-extra package groups from the testing repository, i.e. gnome 2.16.

This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 13 May 2007, 18:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  Assuming fixed, no response for over a month.
Can't test it myself because I deprecated floppydrives over a year ago in all my systems.
Comment by Jan de Groot (JGC) - Thursday, 05 October 2006, 11:19 GMT
Do you also get the slowdown when mounting from commandline using pmount /dev/fd0?
Comment by Jan de Groot (JGC) - Thursday, 05 October 2006, 20:43 GMT
Could you also give the output of lshal about your floppydrive when this happens?
Comment by Real Name (Michel F) - Thursday, 05 October 2006, 23:39 GMT
1/ when using pmount, the slowdown is the same. However, the floppy mount-point is not /media/usbstick but rather /media/fd0. Again, this is when I have no fstab entry for /dev/fd0.

2/ lshal : see full log attached
   lshal (67.1 KiB)
Comment by Real Name (Michel F) - Wednesday, 11 October 2006, 13:13 GMT
I did some tests on this issue. It appears that the excessive time needed to mount the floppy comes from the fact that no specific filesystem option is passed to pmount thus forcing a full search on the disk. This can be avoided by setting the filesystem option to vfat either in a fstab line or with a hal rule such as:

<device>
<match key="storage.no_partitions_hint" bool="true">
<match key="storage.drive_type" string="floppy">
<merge key="storage.policy.mount_filesystem" type="string">vfat</merge>
</match>
</match>
</device>

Now, whith such a hal rule, floppy mounts without delay on a /media/usbstick mount point, which is not desirable. Adding the following line to the hal rule makes it mount on /media/floppy:

<merge key="storage.policy.desired_mount_point" type="string">floppy</merge>

Having done this, two of the three issues are avoided. I say avoided but not solved because in my opinion, the user should not patch this on its own with a hal rule. This is standard behaviour for a floppy and it should be handled by nautilus.

Also, the last issue remains, i.e. that once the floppy is mounted, nautilus displays the content of the root folder and not of /media/floppy. I filed a bud in bugzilla for this.

Don't know if there is anything specific to Arch Linux to be done.
Comment by Jan de Groot (JGC) - Sunday, 22 October 2006, 12:41 GMT
I added gnome-mount to the repositories last week. This program uses hal to mount volumes instead of guessing things itself. Is this bug solved when using gnome-mount?
Comment by Real Name (Michel F) - Sunday, 22 October 2006, 18:22 GMT
No. Same symptoms.
Comment by Real Name (Michel F) - Wednesday, 27 December 2006, 23:54 GMT
Please close this bug as nobody seems to care and I'm no longer requesting it to be solved.
Comment by Jan de Groot (JGC) - Monday, 09 April 2007, 21:01 GMT
Is this still an issue with hal 0.5.9?

Loading...