Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122283 - gnap_overlay mounts media with "sync"
Summary: gnap_overlay mounts media with "sync"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: GNAP (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Network Appliance Bugs
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-02-09 10:22 UTC by Rob Judd
Modified: 2006-04-21 13:38 UTC (History)
0 users

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 Rob Judd 2006-02-09 10:22:20 UTC
The "sync" mount option causes the filesystem tables to be written to repeatedly as gnap_overlay copies files onto the install media. I install GNAP on Compact Flash cards, and this results in unusually slow transfer (15 minutes to copy 35M of data) and excessive wear on the CF, which have a limited number of write cycles. This could lead to premature failure of the CF after only a few installs.

I've patched my gnap_overlay by replacing line 251:
mount -t msdos -o sync "${OUTPUT}" "${TEMPMOUNTDIR}"
with the following:
mount -t msdos "${OUTPUT}" "${TEMPMOUNTDIR}"

Which appears to resolve the issue.
Comment 1 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2006-02-09 11:52:49 UTC
More info on bug #99039.
Comment 2 Thierry Carrez (RETIRED) gentoo-dev 2006-04-15 03:40:47 UTC
Fixed in CVS, scheduled for 2.0 release
Comment 3 Thierry Carrez (RETIRED) gentoo-dev 2006-04-21 13:38:28 UTC
Version 2.0 is out