コード例 #1
0
ファイル: md.py プロジェクト: florath/init4boot
 def check(self):
     return fsutils.must_exist(self.__root_dir, ["sbin"], "mdadm")
コード例 #2
0
ファイル: multipath.py プロジェクト: florath/init4boot
 def check(self):
     return fsutils.must_exist(self.__root_dir, ["sbin"], "multipath") \
         and fsutils.must_exist(self.__root_dir, ["sbin"], "kpartx")
コード例 #3
0
ファイル: aufs.py プロジェクト: florath/init4boot
 def check(self):
     return fsutils.must_exist(self.__root_dir,
                               ["usr/sbin", "sbin"], "mount.aufs") 
コード例 #4
0
ファイル: iSCSI.py プロジェクト: florath/init4boot
 def check(self):
     return fsutils.must_exist(self.__root_dir,
                               ["usr/sbin", "sbin"], "iscsid") \
         and fsutils.must_exist(self.__root_dir,
                                ["usr/sbin", "sbin", "usr/bin"], "iscsiadm")
コード例 #5
0
ファイル: nfs.py プロジェクト: florath/init4boot
 def check(self):
     return fsutils.must_exist(self.__root_dir, ["usr"],
                               "lib/klibc/bin/nfsmount")