Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104297 - hal-0.4.7-r2 and sync mount option
Summary: hal-0.4.7-r2 and sync mount option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-30 13:16 UTC by Michal Kurgan (RETIRED)
Modified: 2005-10-16 19:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Kurgan (RETIRED) gentoo-dev 2005-08-30 13:16:40 UTC
Hal-0.4.7-r2 by default uses sync option to mount hotplugable or removable  
devices under 2GB. Recent change in 2.6.12 add "support" for sync option with  
fat filesystem. This filesystem is quite popular on various memory sticks.  
With this mount option usage is almost impossible, with transfer about 5kB,  
also fat filetable is overwritten many, many times so it may even destroy such  
a memory stick with this constant overwrite... 
I think sth should be done with this situation.  
  

Reproducible: Always
Steps to Reproduce:
1.emerge hal 
2.use memory stick 
3. 
 
Actual Results:  
mount with sync option 

Expected Results:  
exclude option from hal configuration file, or issue some warning about this 
situation.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2005-08-31 15:40:43 UTC
AFAIK, this is fixed for 0.5.x but I'll verify.
Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2005-10-03 19:01:14 UTC
@Cardoe: any update?
Comment 3 Steev Klimaszewski (RETIRED) gentoo-dev 2005-10-16 19:04:41 UTC
This is fixed in latest hal.  From the ChangeLog

 * fdi/policy/10osvendor/10-storage-policy.fdi: Never ever use
   sync as it reduces performance and makes people believe that
   it wears out their drives