[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH v3 03/18] fsadm: Add simple configuration file



Dne 27.9.2011 15:42, Lukas Czerner napsal(a):
> Signed-off-by: Lukas Czerner <lczerner redhat com>
> ---
>  scripts/fsadm.sh |   30 ++++++++++++++++++++++++++++++
>  1 files changed, 30 insertions(+), 0 deletions(-)
> 
> diff --git a/scripts/fsadm.sh b/scripts/fsadm.sh
> index 58ff0ab..98921d3 100755
> --- a/scripts/fsadm.sh
> +++ b/scripts/fsadm.sh
> @@ -88,6 +88,9 @@ PROCDEVICES="/proc/devices"
>  PROCPARTITIONS="/proc/partitions"
>  NULL="$DM_DEV_DIR/null"
>  
> +CONFIG_PATHS="/etc/fsadm.conf ~/fsadm.conf"
> +CONFIG=
> +


Looks too complicated -  sourcing config file with some defines looks like
better approach here  if you really think it's useful.


Zdenek


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]