libp7/doc/p7_optimize.3.txt

40 lines
589 B
Plaintext

P7_OPTIMIZE(3)
==============
Thomas "Cakeisalie5" Touhey
:Email: thomas@touhey.fr
:man source: libp7
:man manual: libp7 manual
NAME
----
p7_optimize - optimize a filesystem
SYNOPSIS
--------
[source,c]
----
#include <libp7.h>
int p7_optimize(p7_handle_t *handle, char *devname);
p7_optimize(handle, "fls0");
----
DESCRIPTION
-----------
p7_optimize optimizes a distant filesystem (defragments).
RETURN VALUE
------------
This function returns zero if everything went well, and the error code
otherwise.
ERRORS
------
See *p7_error*(3).
SEE ALSO
--------
*libp7*(3),
*p7_error*(3)