From 1a720a5b9534b3e6c619e32e538ff23ac3ce57af Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 28 Feb 2005 01:03:22 +0000 Subject: [PATCH] mount /proc, not / (so we can treat absolute paths properly) --- stepmania/src/RageFileManager.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index 482af94b11..e0517aaa53 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -244,10 +244,8 @@ void RageFileManager::MountInitialFilesystems() #if defined(XBOX) RageFileManager::Mount( "dir", "D:\\", "" ); #elif defined(LINUX) - /* Absolute paths. This is rarely used, eg. by Alsa9Buf::GetSoundCardDebugInfo(). - * All paths that start with a slash (eg. "/proc") should use this, so put it - * first. */ - RageFileManager::Mount( "dir", "/", "/" ); + /* Mount /proc, so Alsa9Buf::GetSoundCardDebugInfo() and others can access it. */ + RageFileManager::Mount( "dir", "/proc", "/proc" ); /* We can almost do this, to have machine profiles be system-global to eg. share * scores. It would need to handle permissions properly. */