[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
bug 150670. How to default partition.
- From: Joel Andres Granados <jgranado redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: bug 150670. How to default partition.
- Date: Wed, 28 Mar 2007 17:26:21 +0200
Hi All:
Found that this issue was not resolved yet for fc7. Personally I would
leave the default as it is (100MB->/boot,XXXMB->swap and the resto for
/) but the bug discussion does have some details that should be avoided
(The issue with the newbie realizing that it would be better to separate
the home and OS way after he has finished the installation.)
To suggest a solution I would do something like (100MB->boot---
XXXMB->swap---10GB->/ --- the rest for /home :) but thats just me....
I tested it in kickstart and gui installs, everything seems to be fine.
So I think its sensible to close the bugs.
The diff:
diff -ubB anaconda-11.2.0.40/installclass.py
anaconda-11.2.0.40-JG/installclass.py
--- anaconda-11.2.0.40/installclass.py 2007-03-08 23:03:32.000000000 +0100
+++ anaconda-11.2.0.40-JG/installclass.py 2007-03-28
17:16:53.000000000 +0200
@@ -421,7 +421,7 @@
def setDefaultPartitioning(self, partitions, clear =
CLEARPART_TYPE_LINUX,
doClear = 1, useLVM = True):
- autorequests = [ ("/", None, 1024, None, 1, 1, 1) ]
+ autorequests = [ ("/", None, 1024, 10240, 1, 1, 1) ]
bootreq = getAutopartitionBoot()
if bootreq:
@@ -429,6 +429,7 @@
(minswap, maxswap) = iutil.swapSuggestion()
autorequests.append((None, "swap", minswap, maxswap, 1, 1, 1))
+ autorequests.append(("/home", None, 1024, None,1,1,1 ))
if doClear:
partitions.autoClearPartType = clear
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]