mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-26 23:34:02 +02:00
Very minor bugfixes (Rev 1.20)
This commit is contained in:
parent
0986d6f70a
commit
25c1fb4694
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# $Id: megaclisas-status,v 1.19 2015/03/27 03:06:04 root Exp $
|
# $Id: megaclisas-status,v 1.20 2015/03/27 03:12:09 root Exp $
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
@ -383,7 +383,7 @@ if totaldrivenumber:
|
|||||||
# Header
|
# Header
|
||||||
if ( i == 0 ):
|
if ( i == 0 ):
|
||||||
print drvfmt % (
|
print drvfmt % (
|
||||||
"-- ID", "Type", "Model", "Size", "Status", "Speed", "Temp", "Slot ID", "LSI Device ID")
|
"-- ID", "Type", "Drive Model", "Size", "Status", "Speed", "Temp", "Slot ID", "LSI Device ID")
|
||||||
# Drive information
|
# Drive information
|
||||||
print drvfmt % (
|
print drvfmt % (
|
||||||
str('c'+str(controllerid)+'u'+array[0]+'p'+array[1]), # c0p0
|
str('c'+str(controllerid)+'u'+array[0]+'p'+array[1]), # c0p0
|
||||||
@ -434,7 +434,7 @@ if totalunconfdrivenumber:
|
|||||||
# Header
|
# Header
|
||||||
if ( i == 0 ):
|
if ( i == 0 ):
|
||||||
print drvfmt % (
|
print drvfmt % (
|
||||||
"-- ID", "Type", "Model", "Size", "Status", "Speed", "Temp", "Slot ID", "LSI Device ID")
|
"-- ID", "Type", "Drive Model", "Size", "Status", "Speed", "Temp", "Slot ID", "LSI Device ID")
|
||||||
# Drive information
|
# Drive information
|
||||||
print drvfmt % (
|
print drvfmt % (
|
||||||
str('c'+str(controllerid)+'uXpY\t| '+array[0]), # cXpY
|
str('c'+str(controllerid)+'uXpY\t| '+array[0]), # cXpY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user