Skip to content

Comments

tmpfiles: add --exclude-prefix and -E flags#480

Merged
troglobit merged 1 commit intofinit-project:masterfrom
aanderse:master
Feb 24, 2026
Merged

tmpfiles: add --exclude-prefix and -E flags#480
troglobit merged 1 commit intofinit-project:masterfrom
aanderse:master

Conversation

@aanderse
Copy link
Contributor

Add support for the --exclude-prefix=PATH option to skip rules whose path starts with the specified prefix. The option can be specified multiple times to exclude multiple path prefixes.

The -E flag is a shortcut for:

--exclude-prefix=/dev --exclude-prefix=/proc \
--exclude-prefix=/run --exclude-prefix=/sys

This is useful to avoid creating files below virtual or memory-backed file system mount points.

Add support for the --exclude-prefix=PATH option to skip rules whose
path starts with the specified prefix.  The option can be specified
multiple times to exclude multiple path prefixes.

The -E flag is a shortcut for:

    --exclude-prefix=/dev --exclude-prefix=/proc \
    --exclude-prefix=/run --exclude-prefix=/sys

This is useful to avoid creating files below virtual or memory-backed
file system mount points.
Copy link
Collaborator

@troglobit troglobit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! 👍

Just in time for the first RC as well 😊

@troglobit troglobit merged commit ec251f1 into finit-project:master Feb 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants