Beta Virtual-disk2

Status
Not open for further replies.

xyz321

Well-Known Member
A update to the virtual-disk2 package (version 2.0-2) should be on its way to the beta repository. This loads the drivers before the humaxtv application starts. This stops the icons from appearing when the system starts up.

There is a known problem with sysmon. The method it uses to determine which disk to look at is not very robust. This new version of virtual-disk2 causes the disks to appear in a different order. I will post a patch later.

It would be useful if it could be tested with various other disks in case there is some scenario which breaks it.
 
Patch for sysmon
Code:
--- /mod/monitor/bin/temp.old
+++ /mod/monitor/bin/temp
@@ -7,9 +7,7 @@
 # Define the temperature table
 table temp { temp integer }
 
-lassign [split [exec df /mod] "\n"] x diskline
-lassign [split $diskline " "] disk
-set disk [string range $disk 0 end-1]
+set disk [system disk]
 
 if {[catch {
 	set smart [exec /bin/smartctl -A $disk | grep ^194]
--- /mod/monitor/bin/smart.old
+++ /mod/monitor/bin/smart
@@ -13,9 +13,7 @@
 	offline integer
 }
 
-lassign [split [exec df /mod] "\n"] x diskline
-lassign [split $diskline " "] disk
-set disk [string range $disk 0 end-1]
+set disk [system disk]
 
 set ids {4 startstop 9 poh 5 realloc 197 pending 198 offline}
 set idnums [array names ids]
 
sysmon updated - thanks xyz321
(I did actually have those changes already on my development Humax, just hadn't published them)
 
I just discovered this beta version 2.0-2 which does seem to resolve the irritating Video/Audio/Photo pop-up ("icons" per post #1) observed with 2.0-1 and probably earlier versions (HD Fox-T2 connected to a 500GB external disk through a USB hub).

Is it time to release this version? Otherwise, what possible issues need further testing?
 
Is it time to release this version? Otherwise, what possible issues need further testing?

Not for me to provide an answer but I can say I have been using Virtual-disk2 and NTFS-3g with a 4Tb GPT drive for some months now. No issue found, really appreciate being able to connect large drives.
 
Status
Not open for further replies.
Back
Top