Skip to content

Commit

Permalink
File system size fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jul 28, 2014
1 parent 21d8eb0 commit b7ab0e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions I-Nex/i-nex/.src/Disk_Drives.module
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ Public Sub get_informations()
Try rq_affinity = Replace(File.Load("/sys/block/" & Finfosys.ComboBox4.Text & "/queue/rq_affinity"), "\n", "")

Try real_size = CLong(Replace(File.Load("/sys/block/" & Finfosys.ComboBox4.Text & "/" & Finfosys.ComboBox3.Text & "/size"), "\n", "") * 512)
' Print Replace(File.Load("/sys/block/" & Finfosys.ComboBox4.Text & "/" & Finfosys.ComboBox3.Text & "/size"), "\n", "")
' Print real_size
' Print Fix(real_size / 1024)
' Print Fix(real_size / 1024 / 1024)
Try max_ratio = Replace(File.Load("/sys/block/" & Finfosys.ComboBox4.Text & "/bdi/max_ratio"), "\n", "")
Expand Down
4 changes: 2 additions & 2 deletions I-Nex/i-nex/.src/Finfosys.form
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@
Border = Border.Raised
}
{ !Label38 Label
Move(7,175,294,21)
Move(7,175,224,21)
#Public = True
#Translate = False
Font = Font["8"]
Expand Down Expand Up @@ -1397,7 +1397,7 @@
Font = Font["8"]
}
{ Label248 Label
Move(301,175,161,21)
Move(231,175,231,21)
Font = Font["8"]
Padding = 3
Text = ("Label248")
Expand Down

0 comments on commit b7ab0e7

Please sign in to comment.