2 This module defines the BaseFsdevManager Class which provides an
3 implementation of the 'fsdev' helper API; site specific extensions
4 to any of these methods should inherit this class.
7 from autotest_lib
.client
.bin
import utils
9 class BaseFsdevManager(object):
15 def include_partition(self
, partname
):
16 # Client to fill in logic that will pick the right partitions
20 def map_drive_name(self
, partname
):
24 SiteFsdevManager
= utils
.import_site_class(
25 __file__
, "autotest_lib.client.bin.site_fsdev", "SiteFsdevManager",
28 # Wrap whatever SiteFsdevManager class we've found above in a class
29 class FsdevManager(SiteFsdevManager
):