FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 08-02-2010, 04:26 PM
"Brian C. Lane"
 
Default shutdown: don't unmount /sys and /proc

-----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++ = '';
>
> 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@redhat.com>
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
tfsGtMwftKzpx7GfBow0cu0sHgKu4zhh8A1uiAhUdZlZY6hwO1 2zf8TAOTN8f3fA
uq+ahlX+AR5uNIaGmSO7A4f9L46bFqO3IlnsZZf15lkQEIDDDh GOH4DS6OidXO+f
7x0Uwk9dyPEy9MUMQcSiiePcQTv8q79Kr1BCsuaR6rEbp98fhH umzg==
=VcbH
-----END PGP SIGNATURE-----

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

Thread Tools




All times are GMT. The time now is 08:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org