1JOURNAL_WIPE(9)            The Linux Journalling API           JOURNAL_WIPE(9)
2
3
4

NAME

6       journal_wipe - Wipe journal contents
7

SYNOPSIS

9       int journal_wipe(journal_t * journal, int write);
10

ARGUMENTS

12       journal
13           Journal to act on.
14
15       write
16           flag (see below)
17

DESCRIPTION

19       Wipe out all of the contents of a journal, safely. This will produce a
20       warning if the journal contains any valid recovery information. Must be
21       called between journal_init_*() and journal_load.
22
23       If 'write' is non-zero, then we wipe out the journal on disk; otherwise
24       we merely suppress recovery.
25

AUTHORS

27       Roger Gammans <rgammans@computer-surgery.co.uk>
28           Author.
29
30       Stephen Tweedie <sct@redhat.com>
31           Author.
32
34Kernel Hackers Manual 3.10         June 2019                   JOURNAL_WIPE(9)
Impressum