A class to represent a set of filesystems.
|
__init__(self,
devicetree)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_parseOneLine(self,
(devspec, mountpoint, fstype, options, dump, passno)) |
source code
|
|
|
|
|
turnOnSwap(self,
intf=None,
rootPath="",
upgrading=None) |
source code
|
|
|
mountFilesystems(self,
intf=None,
rootPath="",
readOnly=None,
skipRoot=False,
raiseErrors=None) |
source code
|
|
|
umountFilesystems(self,
ignoreErrors=True,
swapoff=True)
unmount filesystems, except swap if swapoff == False |
source code
|
|
|
createSwapFile(self,
device,
size)
Create and activate a swap file under ROOT_PATH. |
source code
|
|
|
|
|
|
|
|
|
|
|
write(self)
write out all config files based on the set of filesystems |
source code
|
|
|
|
|
mdadmConf(self)
Return the contents of mdadm.conf. |
source code
|
|
|
multipathConf(self)
Return the contents of multipath.conf. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|