" [--component-end[=[+-]COMP_END]|-E[[+-]comp_end]]\n"
" [[!] --mirror-index=[+-]INDEX |\n"
" [!] --mirror-id=[+-]MIRROR_ID] [--mirror-count|-N]\n"
+ " [--no-follow]\n"
" <directory|filename> ..."},
{"setdirstripe", lfs_setdirstripe, 0,
"Create striped directory on specified MDT, same as mkdir.\n"
LFS_INHERIT_RR_OPT,
LFS_FIND_PERM,
LFS_PRINTF_OPT,
+ LFS_NO_FOLLOW_OPT,
};
#ifndef LCME_USER_MIRROR_FLAGS
.name = "mirror-index", .has_arg = required_argument },
{ .val = LFS_MIRROR_ID_OPT,
.name = "mirror-id", .has_arg = required_argument },
+ { .val = LFS_NO_FOLLOW_OPT,
+ .name = "no-follow", .has_arg = no_argument },
{ .val = 'c', .name = "stripe-count", .has_arg = no_argument },
{ .val = 'c', .name = "stripe_count", .has_arg = no_argument },
/* find { .val = 'C', .name = "ctime", .has_arg = required_argument }*/
param->fp_exclude_mirror_id = !!neg_opt;
break;
}
+ case LFS_NO_FOLLOW_OPT:
+ param->fp_no_follow = true;
+ break;
case 'd':
param->fp_max_depth = 0;
break;