Re: [PATCH] liveinst: deactivate mdraid arrays before running liveinst (#528235)

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

 



> --- a/liveinst/liveinst
> +++ b/liveinst/liveinst
> @@ -66,6 +66,17 @@ done
>  
>  /sbin/swapoff -a
>  /sbin/lvm vgchange -an --ignorelockingfailure
> +for i in /dev/md*; do
> +    [ -b $i ] || continue
> +
> +    case "$i" in
> +        /dev/md*p*)
> +            ;;
> +        *)
> +            mdadm --stop $i >/dev/null 2>&1
> +            ;;
> +    esac
> +done

Just to be nitpicky... we don't use the [ test ] || continue syntax
anywhere else in liveinst; we use the full wordy syntax.  It's probably
best to keep it consistent.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux