Package pyanaconda :: Package storage :: Class FSSet
[hide private]
[frames] | no frames]

Class FSSet

source code

object --+
         |
        FSSet

A class to represent a set of filesystems.

Instance Methods [hide private]
 
__init__(self, devicetree)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
sysfs(self) source code
 
dev(self) source code
 
devpts(self) source code
 
proc(self) source code
 
devshm(self) source code
 
usb(self) source code
 
selinux(self) source code
 
devices(self) source code
 
mountpoints(self) source code
 
_parseOneLine(self, (devspec, mountpoint, fstype, options, dump, passno)) source code
 
parseFSTab(self, anaconda=None, chroot=None)
parse /etc/fstab
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
 
mkDevRoot(self) source code
 
swapDevices(self) source code
 
rootDevice(self) source code
 
migratableDevices(self)
List of devices whose filesystems can be migrated.
source code
 
write(self)
write out all config files based on the set of filesystems
source code
 
crypttab(self) source code
 
mdadmConf(self)
Return the contents of mdadm.conf.
source code
 
multipathConf(self)
Return the contents of multipath.conf.
source code
 
fstab(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, devicetree)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

sysfs(self)

source code 
Decorators:
  • @property

dev(self)

source code 
Decorators:
  • @property

devpts(self)

source code 
Decorators:
  • @property

proc(self)

source code 
Decorators:
  • @property

devshm(self)

source code 
Decorators:
  • @property

usb(self)

source code 
Decorators:
  • @property

selinux(self)

source code 
Decorators:
  • @property

devices(self)

source code 
Decorators:
  • @property

mountpoints(self)

source code 
Decorators:
  • @property

parseFSTab(self, anaconda=None, chroot=None)

source code 
parse /etc/fstab

preconditions:
    all storage devices have been scanned, including filesystems
postconditions:

FIXME: control which exceptions we raise

XXX do we care about bind mounts?
    how about nodev mounts?
    loop mounts?

swapDevices(self)

source code 
Decorators:
  • @property

rootDevice(self)

source code 
Decorators:
  • @property

migratableDevices(self)

source code 

List of devices whose filesystems can be migrated.

Decorators:
  • @property