[blivet:master 00/21] Patches about mounting filesystems (v2)

mulhern amulhern at redhat.com
Thu Jan 15 18:39:49 UTC 2015


New ones are:
* Simplify NoDevFS.type
* Do not set self.exists to True...
* Tidy up the definitions of the device...and all patches after it.

Looking at the git history makes me think that it has never been possible
to resize tmpfs before, since the code path on which resize was failing
previously, i.e., RuntimeError in notifyKernel(),
has existed unchanged since before the split from anaconda.

Because I believe that it has never worked and because I am still not
certain that the resizing that I have implemented for TmpFS actually
works within the framework that blivet requires for resizing actions, I
am setting TmpFS._resizable to False.

mulhern (21):
  Add a tiny test for TmpFS.
  Make error message more useful.
  Be less eager about processing all lines in /proc/meminfo.
  Simplify setting options variable.
  Simplify FS._getOptions().
  Tighten up FS.mountable().
  Do not bother to set device.format.mountopts.
  Set format's mountpoint if it has the mountpoint attribute.
  Simplify NoDevFS.type.
  Do not set self.exists to True in TmpFS.__init__().
  Do not redefine size property in TmpFS.
  Virtualize options property methods in DeviceFormat.options
    definition.
  Tidy up the definition of the device property throughout formats
    package.
  Remove _getExistingSize() methods with body pass.
  Make _getExistingSize() method more generally useful.
  Add TmpFS._getExistingSize() method.
  Rewrite TmpFS class definition.
  Add TmpFS._resizefsUnit and use appropriately.
  Don't notify the kernel if it was tmpfs filesystem that was resized.
  Add an additional test for TmpFS.
  Set TmpFS._resizable to False.

 blivet/__init__.py            |  13 +--
 blivet/formats/__init__.py    |  24 ++++--
 blivet/formats/fs.py          | 189 ++++++++++++++++++------------------------
 blivet/formats/swap.py        |   3 -
 blivet/util.py                |   7 +-
 tests/formats_test/fs_test.py |  53 ++++++++++++
 6 files changed, 156 insertions(+), 133 deletions(-)

-- 
1.9.3



More information about the anaconda-patches mailing list