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 > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 02-08-2011, 05:54 PM
David Lehman
 
Default Don't unmount /proc or /sys during shutdown.

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 af5caaa..efb7d37 100644
--- a/loader/undomounts.c
+++ b/loader/undomounts.c
@@ -153,6 +153,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;
--
1.7.3.4

_______________________________________________
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 01:22 PM.

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