{
    "mode": "man",
    "parameter": "eatmydata",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/eatmydata/1/json",
    "generated": "2026-06-15T14:40:04Z",
    "synopsis": "eatmydata [--] command [ command arguments ... ]",
    "sections": {
        "NAME": {
            "content": "eatmydata - transparently disable fsync() and other data-to-disk synchronization calls\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "eatmydata [--] command [ command arguments ... ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "eatmydata  runs  a  command in the environment where data-to-disk synchronization calls (like\nfsync(), fdatasync(), sync(), msync() and open() OSYNC /  ODSYNC  flags)  have  no  effect.\nLDPRELOAD  library  libeatmydata  overrides respective C library calls with custom functions\nthat don't trigger synchronization but return success nevertheless.\n\nYou may use eatmydata in two ways. In normal mode, just execute eatmydata directly and pass a\ncommand-to-be-run  and its arguments via command line. In order to use symlink mode, create a\nsymlink to /usr/bin/eatmydata with the filename (a.k.a basename) of another  program  in  the\nPATH  and  execute  eatmydata  via that symlink. Then eatmydata will find that program in the\nPATH and run it in the libeatmydata environment repassing all command line options.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "Please note that eatmydata does not process any command line options  in  symlink  mode.  All\ncommand line options will be repassed to the underlying executable as-is.\n\ncommand\nThe  command  to  execute.  It may be either a full path or the name of the command in\nPATH. In case command cannot be found in PATH, eatmydata will fail.\n\ncommand arguments\nArbitrary number of arguments to pass to the command being executed.\n\n--     Optional command separator for compatibility with similar utilities.  Ignored  at  the\nmoment.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "Given  PATH  is /usr/bin and both /usr/bin/aptitude and /usr/bin/eatmydata are installed, the\nfollowing:\n\n$ ln -s /usr/bin/eatmydata ./aptitude\n$ ./aptitude moo\n\nis equivalent to:\n\n$ eatmydata -- aptitude moo\n\nTherefore, you may use symlink mode to automatically run specific programs in  the  libeatmy‐\ndata  environment whenever you run them from PATH. For example, given standard PATH settings,\njust do:\n\n# ln -s /usr/bin/eatmydata /usr/local/bin/aptitude\n\nand enjoy sync-free aptitude system-wide.\n",
            "subsections": []
        },
        "CAVEAT": {
            "content": "When using eatmydata with setarch (including alias such as linux32), or anyway  with  chroots\nwith  a  different architectures than the host's, make sure to install the matching architec‐\nture of libeatmydata1 both in the setarch environment and host's.\n\nTrying to load libeatmydata manually (without using the wrapper script) and using it  through\na  chroot, especially if the eatmydata version differ between outside and inside, is probably\ngoing to fail do the different position of the library on the file system.\nThe safest way to manually load libeatmydata is by  setting  the  following  two  environment\nvariables (shell syntax):\n\nLDLIBRARYPATH=${LDLIBRARYPATH:+\"$LDLIBRARYPATH:\"}/usr/lib/libeatmydata\nLDPRELOAD=${LDPRELOAD:+\"$LDPRELOAD \"}libeatmydata.so\n\nThese  two  variables  accounts the case of a Debian Jessie host with a Debian Wheezy chroot,\nwhere the position of the library changed.\n\n\n\nNovember 2014                               eatmydata(1)",
            "subsections": []
        }
    },
    "summary": "eatmydata - transparently disable fsync() and other data-to-disk synchronization calls",
    "flags": [],
    "examples": [
        "Given  PATH  is /usr/bin and both /usr/bin/aptitude and /usr/bin/eatmydata are installed, the",
        "following:",
        "$ ln -s /usr/bin/eatmydata ./aptitude",
        "$ ./aptitude moo",
        "is equivalent to:",
        "$ eatmydata -- aptitude moo",
        "Therefore, you may use symlink mode to automatically run specific programs in  the  libeatmy‐",
        "data  environment whenever you run them from PATH. For example, given standard PATH settings,",
        "just do:",
        "# ln -s /usr/bin/eatmydata /usr/local/bin/aptitude",
        "and enjoy sync-free aptitude system-wide."
    ],
    "see_also": []
}