diff options
author | Peter Jones <pjones@redhat.com> | 2005-03-23 23:06:04 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2005-03-23 23:06:04 +0000 |
commit | 49ebfcd05d1d86c86e3bf225f99ff6e8aae7ed48 (patch) | |
tree | 10005916d144ef77a20c555ff983b2648dd5c05e /fsset.py | |
parent | 74ca0d87c8cfe4adff3ebdc6e7d55096c9c34871 (diff) | |
download | anaconda-49ebfcd05d1d86c86e3bf225f99ff6e8aae7ed48.tar.gz anaconda-49ebfcd05d1d86c86e3bf225f99ff6e8aae7ed48.tar.xz anaconda-49ebfcd05d1d86c86e3bf225f99ff6e8aae7ed48.zip |
fix mkfs on xfs
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -419,9 +419,13 @@ class xfsFileSystem(FileSystemType): def formatDevice(self, entry, progress, chroot='/'): devicePath = entry.device.setupDevice(chroot) + xfsBytesPerInode = 2048 + if entry.bytesPerInode < 2048: + xfsBytesPerInode = entry.bytesPerInode + rc = iutil.execWithRedirect("/usr/sbin/mkfs.xfs", ["mkfs.xfs", "-f", "-l", "internal", - "-i size=" + str(entry.bytesPerInode), + "-i", "size=" + str(xfsBytesPerInode), devicePath ], stdout = "/dev/tty5", stderr = "/dev/tty5") |