commit 0d855acbae6fd598547fdb115680735d5ad58295
Author: Antonio Huete Jimenez <[email protected]>
Date: Wed Mar 5 00:24:38 2014 +0100
sbin/hammer - Remove trailing '/' from paths.
When operating PFSes through symbolic links, it was not
possible to specify the trailing backslash since that
translated to the PFS root dir instead of the symbolic link
to the PFS itself. This caused problems when upgrading or
downgrading PFSes (and probably in other cases too).
The error was "Directory not empty".
This commit should solve those cases, but keep in mind
there are other cases where it is actually not possible
to complete certain operations (like while destroying
PFSes).
Reported-by: Siju George, others
Summary of changes:
sbin/hammer/cmd_mirror.c | 4 ++--
sbin/hammer/cmd_pseudofs.c | 13 ++++++++++++-
sbin/hammer/hammer.h | 2 +-
3 files changed, 15 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d855acbae6fd598547fdb115680735d5ad58295
--
DragonFly BSD source repository