From d25df987d571eb3725fcbe93999c5a982ceab1ed Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 22 May 2005 02:24:59 +0000 Subject: [PATCH] mount / to /rootfs --- stepmania/src/RageFileManager.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index c50f4e4a62..2308c1e643 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -247,7 +247,12 @@ void RageFileManager::MountInitialFilesystems() #if defined(XBOX) RageFileManager::Mount( "dir", "D:\\", "" ); #elif defined(LINUX) - /* Mount /proc, so Alsa9Buf::GetSoundCardDebugInfo() and others can access it. */ + /* Mount the root filesystem, so we can read files in /proc, /etc, and so on. + * This is /rootfs, not /root, to avoid confusion with root's home directory. */ + RageFileManager::Mount( "dir", "/", "/rootfs" ); + + /* Mount /proc, so Alsa9Buf::GetSoundCardDebugInfo() and others can access it. + * (Deprecated; use rootfs.) */ RageFileManager::Mount( "dir", "/proc", "/proc" ); /* We can almost do this, to have machine profiles be system-global to eg. share