Deutsch   English   Français   Italiano  
<vqu3mv$3577a$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: More systemdCrap
Date: Thu, 13 Mar 2025 08:06:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <vqu3mv$3577a$1@dont-email.me>
References: <vqn41l$1efis$1@dont-email.me> <vqna2v$1fks2$1@dont-email.me>
	<vqnbm7$1g56j$1@dont-email.me> <gjo3alxe38.ln2@Telcontar.valinor>
	<vqnja1$1hrbi$1@dont-email.me> <rq44alxv4u.ln2@Telcontar.valinor>
	<20250310152856.00004b5a@gmail.com> <vqoqfk$1s78c$3@dont-email.me>
	<h8m5alx305.ln2@Telcontar.valinor> <vqpsct$234iu$1@dont-email.me>
	<vqqhp5$27rt9$1@dont-email.me> <br99alxpvk.ln2@Telcontar.valinor>
	<vqsuta$2qkvk$3@dont-email.me> <77f9alx1oa.ln2@Telcontar.valinor>
	<vqt7tj$2se4a$8@dont-email.me> <7kdaalxnas.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 13 Mar 2025 09:06:56 +0100 (CET)
Injection-Info: dont-email.me; posting-host="06a7c1ccb3615841c0c0b8f3e14de3ef";
	logging-data="3316970"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19RsZXNZZpLiTj1jw7bu+ah"
User-Agent: Pan/0.162 (Pokrosvk)
Cancel-Lock: sha1:8h10oVxFPdYa5vdRj/QOYvzgxbo=
Bytes: 2851

On Thu, 13 Mar 2025 08:21:11 +0100, Carlos E.R. wrote:

> On 2025-03-13 01:12, Lawrence D'Oliveiro wrote:
>
>> You can specify any filename you like. See the docs.
>
> Certainly, but that's a problem. You can no longer run
>
> journalctl --boot=-1
>
> and get the expected modified results as the OP wants.

This is why I said, see the docs
<https://www.freedesktop.org/software/systemd/man/latest/journalctl.html>:

-D DIR, --directory=DIR

    Takes a directory path as argument. If specified, journalctl will
    operate on the specified journal directory DIR instead of the
    default runtime and system journal paths.

    Added in version 187.

-i GLOB, --file=GLOB

    Takes a file glob as an argument. If specified, journalctl will
    operate on the specified journal files matching GLOB instead of
    the default runtime and system journal paths. May be specified
    multiple times, in which case files will be suitably interleaved.

    Added in version 205.

--root=ROOT

    Takes a directory path as an argument. If specified, journalctl
    will operate on journal directories and catalog file hierarchy
    underneath the specified directory instead of the root directory
    (e.g. --update-catalog will create
    ROOT/var/lib/systemd/catalog/database, and journal files under
    ROOT/run/journal/ or ROOT/var/log/journal/ will be displayed).

    Added in version 201.