- Package:
- eatmydata
- Source:
- libeatmydata
- Submitter:
- Vincent Bernat
- Date:
- 2014-10-15 20:45:19 UTC
- Severity:
- wishlist
Hi! eatmydata would be useful on laptops when they are put on battery. We would put eatmydata in /etc/ld.so.preload and let it know when we want sync() or not. For example, if /var/run/eatmydata.on exists, we want sync() disabled. Would you accept a patch which does something like this?
Hello, Sure I would accept it. eatmydata.c already has similar code but it's disabled iirc. If you polished it, made file path configurable via environment variable (which would also serve as ON/OFF switch of this functionality) and added appropriate documentation, I would consider applying it.
tag 627325 + patch thanks OoO En cette matinée pluvieuse du vendredi 20 mai 2011, vers 10:52, Modestas Vainius <modax@debian.org> disait : Hi! Here is the patch against the current package. If EATMYDATA environment variable is present, eatmydata will check the file defined by this variable. If the file exists, any sync() call is suppressed.
OoO En cette matinée pluvieuse du samedi 21 mai 2011, vers 10:49, je disais: Hi! I had no news on this patch. What do you think of it?
Control: tags -1 - pending Unluckily the codebase changed quite a lot in these years. Do you mind to rebase your patch against the current package (upstream version 82)
❦ 14 octobre 2014 00:46 +0200, Mattia Rizzolo <mattia@mapreri.org> : Sorry, I don't have much time currently. Maybe later this year.
Control: tags -1 - patch don't worry, I'm not in hurry :) When you'll have a patch, just send it (and re-tag +patch the bug).