projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
also check devidex2 here
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
Harddisk.py
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index
1fc629a
..
404baaf
100644
(file)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-97,7
+97,7
@@
class Harddisk:
line = procfile.readline()
if line == "":
break
line = procfile.readline()
if line == "":
break
- if line.startswith(self.devidex):
+ if line.startswith(self.devidex)
or line.startswith(self.devidex2)
:
parts = line.strip().split(" ")
try:
stat = statvfs(parts[1])
parts = line.strip().split(" ")
try:
stat = statvfs(parts[1])
@@
-130,7
+130,7
@@
class Harddisk:
cmd = "/bin/umount"
for line in procfile:
cmd = "/bin/umount"
for line in procfile:
- if line.startswith(self.devidex):
+ if line.startswith(self.devidex)
or line.startswith(self.devidex2)
:
parts = line.split()
cmd = ' '.join([cmd, parts[1]])
parts = line.split()
cmd = ' '.join([cmd, parts[1]])