mount /proc, not / (so we can treat absolute paths properly)

This commit is contained in:
Glenn Maynard
2005-02-28 01:03:22 +00:00
parent 7c4fd2d0ca
commit 1a720a5b95
+2 -4
View File
@@ -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. */