author | alwin <alwin> | 2005-03-03 22:40:52 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-03 22:40:52 (UTC) |
commit | 6458e3f1f86ab0aadceb3675c38abfbf33f070eb (patch) (unidiff) | |
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 | |||
@@ -287,7 +287,7 @@ bool CardMonitor::getStatusSd( int showPopUp ) { | |||
287 | QString fs = QFile::decodeName( me->mnt_fsname ); | 287 | QString fs = QFile::decodeName( me->mnt_fsname ); |
288 | //odebug << fs << oendl; | 288 | //odebug << fs << oendl; |
289 | if ( fs.left( 14 ) == "/dev/mmc/part1" || fs.left( 7 ) == "/dev/sd" | 289 | if ( fs.left( 14 ) == "/dev/mmc/part1" || fs.left( 7 ) == "/dev/sd" |
290 | || fs.left( 9 ) == "/dev/mmcd" ) { | 290 | || fs.left( 9 ) == "/dev/mmcd" || fs.left(11) == "/dev/mmcblk" ) { |
291 | cardInSd = TRUE; | 291 | cardInSd = TRUE; |
292 | cardSdName = fs; | 292 | cardSdName = fs; |
293 | show(); | 293 | show(); |