author | alwin <alwin> | 2005-03-03 22:40:52 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-03 22:40:52 (UTC) |
commit | 6458e3f1f86ab0aadceb3675c38abfbf33f070eb (patch) (side-by-side diff) | |
tree | 9da8d7692485690a827d5095e43c1219e42467e3 | |
parent | e007cb2e4e3627ece4a093bc976debd6366ed1fa (diff) | |
download | opie-6458e3f1f86ab0aadceb3675c38abfbf33f070eb.zip opie-6458e3f1f86ab0aadceb3675c38abfbf33f070eb.tar.gz opie-6458e3f1f86ab0aadceb3675c38abfbf33f070eb.tar.bz2 |
added 2.6 kernel devicenames
ToDo: let it check using OStorage
-rw-r--r-- | core/applets/cardmon/cardmon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp index 53497df..452339c 100644 --- a/core/applets/cardmon/cardmon.cpp +++ b/core/applets/cardmon/cardmon.cpp @@ -284,13 +284,13 @@ bool CardMonitor::getStatusSd( int showPopUp ) { if ( mntfp ) { while ( ( me = getmntent( mntfp ) ) != 0 ) { QString fs = QFile::decodeName( me->mnt_fsname ); //odebug << fs << oendl; if ( fs.left( 14 ) == "/dev/mmc/part1" || fs.left( 7 ) == "/dev/sd" - || fs.left( 9 ) == "/dev/mmcd" ) { + || fs.left( 9 ) == "/dev/mmcd" || fs.left(11) == "/dev/mmcblk" ) { cardInSd = TRUE; cardSdName = fs; show(); } // else { // cardInSd = FALSE; |