static const char* const storage_table[] = {
[STORAGE_AUTO] = "auto",
[STORAGE_VOLATILE] = "volatile",
static const char* const storage_table[] = {
[STORAGE_AUTO] = "auto",
[STORAGE_VOLATILE] = "volatile",
sd_id128_to_string(machine, ids);
if (!s->system_journal &&
sd_id128_to_string(machine, ids);
if (!s->system_journal &&
s->storage == STORAGE_AUTO)) {
/* If in auto mode: first try to create the machine
* path, but not the prefix.
*
s->storage == STORAGE_AUTO)) {
/* If in auto mode: first try to create the machine
* path, but not the prefix.
*
(void) mkdir("/var/log/journal/", 0755);
fn = strappend("/var/log/journal/", ids);
(void) mkdir("/var/log/journal/", 0755);
fn = strappend("/var/log/journal/", ids);