{
    "content": [
        {
            "type": "text",
            "text": "# eatmydata (man)\n\n## NAME\n\neatmydata - transparently disable fsync() and other data-to-disk synchronization calls\n\n## SYNOPSIS\n\neatmydata [--] command [ command arguments ... ]\n\n## DESCRIPTION\n\neatmydata  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\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS**\n- **EXAMPLES**\n- **CAVEAT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "eatmydata",
        "section": "",
        "mode": "man",
        "summary": "eatmydata - transparently disable fsync() and other data-to-disk synchronization calls",
        "synopsis": "eatmydata [--] command [ command arguments ... ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "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": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "CAVEAT",
                "lines": 17,
                "subsections": []
            }
        ],
        "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\nNovember 2014                               eatmydata(1)",
                "subsections": []
            }
        }
    }
}