Re: anaconda mkfs.xfs problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2005-03-21 at 18:10 -0500, Peter Jones wrote:

> > So what can I do? Can I reopen the bug or something?
> 
> Make a patch.  Test it.  Mail it here once it works.

Ok. The attached patch will fix bug #151378.
At least it worked for me. The patch is against anaconda-10.2.0.28.

Regards,
   Lars

BTW: I was unable to use a anaconda-update-floppy with fc4t1. The
installer offers only HDs and CD-ROMs as updates source. Is this
intentional?  

-- 
Lars Hamann <list@xxxxxxxxxxxxxx>
diff -ru anaconda-10.2.0.28/fsset.py anaconda-10.2.0.28.fix/fsset.py
--- anaconda-10.2.0.28/fsset.py	2005-03-09 23:03:01.000000000 +0100
+++ anaconda-10.2.0.28.fix/fsset.py	2005-03-22 20:03:35.116183035 +0100
@@ -419,9 +419,13 @@
     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")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux