From 2e78fa79bbaebb358d2657c397180d2d08d69b12 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 16 Jun 2014 13:21:07 +0200 Subject: tmpfiles: add new "L+" command as stronger version of "L", that removes the destination before creating a symlink Also, make use of this for mtab as long as mount insists on creating it even if we invoke it with "-n". --- src/shared/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shared/util.h') diff --git a/src/shared/util.h b/src/shared/util.h index 1796014f26..e8552410c0 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -948,3 +948,6 @@ int umount_recursive(const char *target, int flags); int bind_remount_recursive(const char *prefix, bool ro); int fflush_and_check(FILE *f); + +char *tempfn_xxxxxx(const char *p); +char *tempfn_random(const char *p); -- cgit v1.2.3-54-g00ecf