[blivet:master 13/20] Do not even pretend that ReiserFS is resizable.

mulhern amulhern at redhat.com
Tue Dec 23 23:42:26 UTC 2014


To a resize request it will timidly respond:

resize_reiserfs 3.6.24

You are running BETA version of reiserfs shrinker.
This version is only for testing or VERY CAREFUL use.
Backup of you data is recommended.

Do you want to continue? [y/N]:

In man page, there is described a flag:

-f     Force, do not perform checks.

but no amount of -f'ing will persuade resize_reiserfs to just do it.

This is true not just in the currently distributed f20 version (3.6.21),
but also in the most recent version, 3.6.24.

ReiserFS is fairly moribund, I don't think this state of affairs is likely
to change.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/formats/fs.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index 07a383a..55da105 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -1238,7 +1238,6 @@ class ReiserFS(FS):
     """ reiserfs filesystem """
     _type = "reiserfs"
     _mkfs = "mkreiserfs"
-    _resizefs = "resize_reiserfs"
     _labelfs = fslabeling.ReiserFSLabeling()
     _modules = ["reiserfs"]
     _defaultFormatOptions = ["-f", "-f"]
@@ -1261,11 +1260,6 @@ class ReiserFS(FS):
 
         return supported
 
-    @property
-    def resizeArgs(self):
-        argv = ["-s", "%dM" % (self.targetSize.convertTo(spec="MiB"),), self.device]
-        return argv
-
 register_device_format(ReiserFS)
 
 
-- 
1.9.3



More information about the anaconda-patches mailing list