Re: F7 KDE USB Disk/Memory Stick Umounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-07-04 at 23:38 +0200, Adalbert Prokop wrote:
> John Austin wrote on Friday 29 June 2007:
> 
> > 1. Why are the two "identical" devices treated differently?
> 
> I make a reasonable guess: that KDEs "fault". Those devices are not 
> identical, they have different properties. You can look at them using 
> hal-device-manager. KDE looks at these properties and invokes different 
> hal methods over DBUS. In case of the memory stick it would be "Eject" 
> and in case of the hard drive it would be "Unmount". It think so because 
> I also have an USB memory stick and an USB hard driver and their hal 
> method list is identical, but different methods are invoked on them.

I have managed to get hal-device-manager working and it does indeed
show differences between the USB Stick and USB Disk, in particular

Stick
info.addons			    dbus.Array([dbus.String(u'hald-addon-storage')].....
storage.media_check_enabled    1
storage.removable		   1

Disk
info.addons			Does not exist
storage.media_check_enabled    0
storage.removable 		  0

> 
> > 2. Is there an easy method of changing all USB sticks
> >    to act the same as the USB Disk?
> 
> I have some ideas but I had no time to investigate them further. I hope I 
> will have in the near future.
> 
> 1. Replace hal-storage-eject with hal-storage-unmount (in /usr/libexec)
>    UGLY. And not update-safe.
> 
> 2. Write a fdi file which either removes the Eject method from hal
>    methods' list or let "Eject" point to "hal-storage-unmount"
>    That would be my preferred method.
> 
> 3. Somehow tell KDE to provide both options in the device's dialog:
>    unmount and eject. That would be just perfect.
> 
> > Its just annoying !
> 
> I most definitely agree with you. :-)
> 
> > Surely you don't have to dig into hal/udev to fix this
> 
> About this I'm not so sure...
> 
> -- 
> bye,
> Adalbert
> 

It is also noticeable that when using the USB Stick and
Safely remove is invoked then /dev/sdx1 etc are removed
leaving just /dev/sdx then this device does not work.
ie
fdisk /dev/sdx fails to find the device


My knowledge runs out at this stage !!

Many thanks for the reply

John




-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux