Package: hal
Version: 0.4.7-3
Severity: normal

there is an option in
/usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi
that sets the "sync" option for hotplugable devices.
(when automounting with gvm)

This seems to be a good idea to avoid loosing data when unplugging the
device without unmounting.... BUT:
when you set the sync mode on usb-storage devices (usb keys, etc.),
you get a VERY POOR tranfer rate, often ten times slower than without
the option!

I once wrote a small script to benchmark usb keys transfer rate in sync
mode with several block sizes. More information here:
http://ccomb.free.fr/wiki/wakka.php?wiki=UsbStorageBenchmark


I believe the sync mode should never be used except for debugging cases.
This is like using the sync mode of X... not good for performance and
not for real use.

The problem is: if the device is mounted without sync, with the current 
behaviour of Gnome, the user is not warned during the real copy when
unmounting, and there is some time lost while waiting for the copy.

I think a correct behaviour should be:
- hal/gvm should mount WITHOUT the sync mode
- nautilus/gnome-vfs should either :
        - popup a window during the unmounting (just like kde), OR (better)
        - autoflush the data to the device after a few seconds, while showing 
the copy popup window.



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages hal depends on:
ii  adduser                     3.63         Add and remove users and groups
ii  dbus-1                      0.23.4-1     simple interprocess messaging syst
ii  dbus-glib-1                 0.23.4-1     simple interprocess messaging syst
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libcap1                     1:1.10-14    support for getting/setting POSIX.
ii  libexpat1                   1.95.8-1     XML parsing C library - runtime li
ii  libglib2.0-0                2.6.4-1      The GLib library of C routines
ii  libhal-storage0             0.4.7-3      Hardware Abstraction Layer - share
ii  libhal0                     0.4.7-3      Hardware Abstraction Layer - share
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  pciutils                    1:2.1.11-15  Linux PCI Utilities
ii  udev                        0.056-2      /dev/ management daemon
ii  usbutils                    0.70-5       USB console utilities

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to