[systemd-devel] [PATCH] util: rm_rf_children() add root_dev parameter

Harald Hoyer harald.hoyer at gmail.com
Tue May 22 06:21:14 PDT 2012


Am 22.05.2012 15:19, schrieb harald at redhat.com:
> From: Harald Hoyer <harald at redhat.com>
> 
> if root_dev is set, remove subdirectories only, if the device is the
> same as the root_dev. This prevents to remove files across device
> boundaries.
> ---
>  src/shared/util.c |   39 ++++++++++++++++++++++++++-------------
>  src/shared/util.h |    2 +-
>  2 files changed, 27 insertions(+), 14 deletions(-)

please ignore.. it's already in


More information about the systemd-devel mailing list