From: Timothy Day Date: Fri, 10 Mar 2023 16:56:59 +0000 (+0000) Subject: LU-16631 llmount: improve usability X-Git-Tag: 2.15.56~114 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d7de5d6e1bac3555d89aef224030ef6f07c5b14d;p=fs%2Flustre-release.git LU-16631 llmount: improve usability Add some simple help messages to both llmount.sh and llmountcleanup.sh, similar to what auster has. This will help unfamilar people understand the use of these scripts. Add option to disable client setup for llmount.sh. Add options for llmount.sh environment variables. Fix a couple small shellcheck warnings. Update the file headers to have the SPDX license and use the standard format. Test-Parameters: trivial Signed-off-by: Timothy Day Change-Id: I50dbb30bad8c8bc0479585293056d61a25aa001d Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50260 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Patrick Farrell Reviewed-by: Alex Zhuravlev Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/llmount.sh b/lustre/tests/llmount.sh index f87b189..453edb5 100755 --- a/lustre/tests/llmount.sh +++ b/lustre/tests/llmount.sh @@ -1,9 +1,80 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 -LUSTRE=${LUSTRE:-$(dirname $0)/..} -. $LUSTRE/tests/test-framework.sh +# +# This file is part of Lustre, http://www.lustre.org/ +# +# lustre/tests/llmount.sh +# +# Create a simple lustre filesystem and client for +# testing +# + +usage() { + less -F <