EnglishFrenchSpanish

Ad


OnWorks favicon

eatmydata - Online in the Cloud

Run eatmydata in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command eatmydata that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


eatmydata - transparently disable fsync() and other data-to-disk synchronization calls

SYNOPSIS


eatmydata [--] command [ command arguments ... ]

DESCRIPTION


eatmydata runs a command in the environment where data-to-disk synchronization calls (like
fsync(), fdatasync(), sync(), msync() and open() O_SYNC / O_DSYNC flags) have no effect.
LD_PRELOAD library libeatmydata overrides respective C library calls with custom functions
that don't trigger synchronization but return success nevertheless.

You may use eatmydata in two ways. In normal mode, just execute eatmydata directly and
pass a command-to-be-run and its arguments via command line. In order to use symlink mode,
create a symlink to /usr/bin/eatmydata with the filename (a.k.a basename) of another
program in the PATH and execute eatmydata via that symlink. Then eatmydata will find that
program in the PATH and run it in the libeatmydata environment repassing all command line
options.

OPTIONS


Please note that eatmydata does not process any command line options in symlink mode. All
command line options will be repassed to the underlying executable as-is.

command
The command to execute. It may be either a full path or the name of the command in
PATH. In case command cannot be found in PATH, eatmydata will fail.

command arguments
Arbitrary number of arguments to pass to the command being executed.

-- Optional command separator for compatibility with similar utilities. Ignored at the
moment.

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
libeatmydata 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.

CAVEAT


When using eatmydata with setarch (including alias such as linux32), or anyway with
chroots with a different architectures than the host's, make sure to install the matching
architecture of libeatmydata1 both in the setarch environment and host's.

Trying to load libeatmydata manually (without using the wrapper script) and using it
through a chroot, especially if the eatmydata version differ between outside and inside,
is probably going to fail do the different position of the library on the file system.
The safest way to manually load libeatmydata is by setting the following two environment
variables (shell syntax):

LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+"$LD_LIBRARY_PATH:"}/usr/lib/libeatmydata
LD_PRELOAD=${LD_PRELOAD:+"$LD_PRELOAD "}libeatmydata.so

These two variables accounts the case of a Debian Jessie host with a Debian Wheezy chroot,
where the position of the library changed.

November 2014 eatmydata(1)

Use eatmydata online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad