diff options
author | David Lehman <dlehman@redhat.com> | 2010-02-15 14:37:26 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2010-02-16 09:20:58 -0600 |
commit | ae2dc7328d757471a4ed41f98f58e5c937b47b75 (patch) | |
tree | ebd50cb7962257e0941c12b5e60a460c95b4c63b /storage/formats/fs.py | |
parent | 96cf6a17fbc0ad637b92ba05ea853434f5bc7e1b (diff) | |
download | anaconda-ae2dc7328d757471a4ed41f98f58e5c937b47b75.tar.gz anaconda-ae2dc7328d757471a4ed41f98f58e5c937b47b75.tar.xz anaconda-ae2dc7328d757471a4ed41f98f58e5c937b47b75.zip |
Fix ordering of arguments to xfs_admin for writing fs label. (#556546)
xfs_admin expects -L <label> <device>.
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r-- | storage/formats/fs.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py index 3aee98169..22291d617 100644 --- a/storage/formats/fs.py +++ b/storage/formats/fs.py @@ -1230,6 +1230,12 @@ class XFS(FS): _existingSizeFields = ["dblocks =", "blocksize ="] partedSystem = fileSystemType["xfs"] + def _getLabelArgs(self, label): + argv = [] + argv.extend(self.defaultLabelOptions) + argv.extend([label, self.device]) + return argv + register_device_format(XFS) |