FS#23378 - makepkg running "sync"
Attached to Project:
Pacman
Opened by Jan Alexander Steffens (heftig) - Tuesday, 22 March 2011, 07:12 GMT
Last edited by Allan McRae (Allan) - Sunday, 05 June 2011, 10:08 GMT
Opened by Jan Alexander Steffens (heftig) - Tuesday, 22 March 2011, 07:12 GMT
Last edited by Allan McRae (Allan) - Sunday, 05 June 2011, 10:08 GMT
|
Details
makepkg runs "sync" on line 804. Can we get rid of this,
preferably by 3.5.1?
I don't see any immediate use for it, and heavily-used systems can take an extremely long time to return from it. I've had it blocking for 15 minutes or more, especially on Btrfs. |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 05 June 2011, 10:08 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=14474a32
Sunday, 05 June 2011, 10:08 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=14474a32
1>file 2>file would lose whatever was written first, since the second write would clobber the first one. &>file is safer.
Also note "1>file 2>file" is not what you think is being done either. 1 and 2 are not programs producing output... they are file descriptors.
If there is a way to sync a single file, then that would be great (I do not know of one). Or if there is another way of achieving what is being done there, that is acceptable too. Remember any change has to work with bash-3.2 as well.
* http://mywiki.wooledge.org/ProcessSubstitution
* http://mywiki.wooledge.org/BashFAQ/024
* http://mywiki.wooledge.org/BashFAQ/106