Re: [PATCH 1/2] shutdown: don't unmount /sys and /proc

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/02/2010 09:01 AM, Hans de Goede wrote:
> As "mdadm --wait-clean --scan" which runs after unmounting the filesystems
> needs them.
> 
> Related: rhbz#604614
> ---
>  loader/undomounts.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/loader/undomounts.c b/loader/undomounts.c
> index 81eed85..1ed5beb 100644
> --- a/loader/undomounts.c
> +++ b/loader/undomounts.c
> @@ -152,6 +152,7 @@ void unmountFilesystems(void) {
>  	*chptr++ = '\0';
>  
>  	if (strcmp(start, "/") && strcmp(start, "/tmp") &&
> +	    strcmp(start, "/proc") && strcmp(start, "/sys") &&
>              strcmp(start, "/dev")) {
>  	    filesystems[numFilesystems].name = strdup(start);
>  	    filesystems[numFilesystems].what = FS;

Ack

- -- 
Brian C. Lane <bcl@xxxxxxxxxx>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Remember Lexington Green!

iQEVAwUBTFbx0BF+jBaO/jp/AQI8yQf9Eco3X4kKp0VexvVHuF4QiHYcMX5iVkBz
Vzsm6djD2VSlj4WeKd/Ni67KyNEBzM/X4WbsZcSExN5xixOsLEvwkyM6z3RVQZiF
n9dwaCfOAl9u2qaJHgF0VxbA0ATM3/97a0+poB9vJGYTy0+WiKP/gNPWZLhu/EnF
tfsGtMwftKzpx7GfBow0cu0sHgKu4zhh8A1uiAhUdZlZY6hwO12zf8TAOTN8f3fA
uq+ahlX+AR5uNIaGmSO7A4f9L46bFqO3IlnsZZf15lkQEIDDDhGOH4DS6OidXO+f
7x0Uwk9dyPEy9MUMQcSiiePcQTv8q79Kr1BCsuaR6rEbp98fhHumzg==
=VcbH
-----END PGP SIGNATURE-----

_______________________________________________
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