mirror of
https://github.com/systemd/systemd.git
synced 2025-03-24 14:50:17 +03:00
rm-rf: make flags fields easier to read
This commit is contained in:
parent
43767d9d5e
commit
e7279ce82d
@ -25,10 +25,10 @@
|
||||
#include "util.h"
|
||||
|
||||
typedef enum RemoveFlags {
|
||||
REMOVE_ONLY_DIRECTORIES = 1,
|
||||
REMOVE_ROOT = 2,
|
||||
REMOVE_PHYSICAL = 4, /* if not set, only removes files on tmpfs, never physical file systems */
|
||||
REMOVE_SUBVOLUME = 8,
|
||||
REMOVE_ONLY_DIRECTORIES = 1 << 0,
|
||||
REMOVE_ROOT = 1 << 1,
|
||||
REMOVE_PHYSICAL = 1 << 2, /* if not set, only removes files on tmpfs, never physical file systems */
|
||||
REMOVE_SUBVOLUME = 1 << 3,
|
||||
} RemoveFlags;
|
||||
|
||||
int rm_rf_children(int fd, RemoveFlags flags, struct stat *root_dev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user