USB 2.0 Stick too Slow Under SuSE Linux 10?
Monday, March 27. 2006
Although I don't have an USB 2.0 stick, but I experienced this problem with my Nokia 6270 cell phone, which can also act as USB storage device (great phone!).
Today I found Stefan Reisingers blog, where he explains the solution to this problem.
This is the relevant excerpt from the Novell bug report:
This is the relevant excerpt from the Novell bug report:
I found a documentation which describes how to disable the sync mount options of a subfs mounted device. http://portal.suse.de/sdb/de/2005/06/dkukawka_halnosync_html.html https://bugzilla.novell.com/show_bug.cgi?id=85413#c5 Mounting hotplugged devices without "sync" ------------------------------------------- If writing to USB storage devices like USB sticks or USB hard drive is rather slow or if you do not want synchronized writing to these devices, disable the sync mount option. 1. Create the directory /usr/share/hal/fdi/policy/95userpolicy: mkdir -p /usr/share/hal/fdi/policy/95userpolicy/ 2. Create a file with the name nosync.fdi and the following contents: vi /usr/share/hal/fdi/policy/95userpolicy/nosync.fdi <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <!-- disable sync for mount --> <match key="block.is_volume" bool="true"> <match key="volume.fsusage" string="filesystem"> <match key="volume.uuid" string="==UUID=="> <merge key="volume.policy.mount_option.sync" type="bool">false</merge> </match> </match> </match> </device> </deviceinfo> 3. Adjust the line according to your hardware. Run 'lshal' to retrieve the "volume.uuid" and enter this id instead of ==UUID== 4. Finally restart the HAL service with rchal restart
Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments