示例#1
0
文件: tune.py 项目: pepe5/ocfs2-tools
    def __init__(self, device=None):
        VolumeLabel.__init__(self)

        try:
            fs = ocfs2.Filesystem(device)
            self.set_text(fs.fs_super.s_label)
        except ocfs2.error:
            pass
示例#2
0
    def __init__(self, device=None):
        VolumeLabel.__init__(self)

        try:
            fs = ocfs2.Filesystem(device)
            self.set_text(fs.fs_super.s_label)
        except ocfs2.error:
            pass
示例#3
0
 def __init__(self):
     VolumeLabel.__init__(self)
     self.set_text('oracle')
示例#4
0
 def __init__(self):
     VolumeLabel.__init__(self)
     self.set_text('oracle')