Re: [PATCH] Be more aggressive unmounting before install starts (#498260)

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

 



> diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh
> index 844ca06..badb3f5 100644
> --- a/liveinst/liveinst.sh
> +++ b/liveinst/liveinst.sh
> @@ -58,6 +58,7 @@ fi
>  
>  # devkit-disks is now mounting lots of stuff.  for now, let's just try to unmount it all
>  umount /media/*
> +for mnt in $(cat /proc/mounts |grep ^/dev |grep -v live | awk {'print $2;'}) ; do umount $mnt 2>/dev/null ; done
>  /sbin/swapoff -a
>  /sbin/lvm vgchange -an --ignorelockingfailure

Looks alright to me.

- 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