FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 10-29-2009, 02:58 PM
Chris Lumens
 
Default Modify autopart requests to include a separate /home (#150670).

This modifies the default partitioning as follows:

(1) For VGs <= 50 GB, we will continue to make swap and / as normal.
(2) For VGs >= 50 GB, / will cap at 50 GB and /home will consume the rest.

50 GB is fairly arbitrary, and was based on the fact that an Everything
install of Fedora right now is ~ 40 GB, plus some room for expansion. Very
few users are likely to do an Everything install so this should provide plenty
of space for upgrades and future growth. Additionally, this is only a default
partitioning suggestion and can always be overridden by the user.
---
installclass.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/installclass.py b/installclass.py
index 7143f6a..1e1d9b8 100644
--- a/installclass.py
+++ b/installclass.py
@@ -178,7 +178,10 @@ class BaseInstallClass(object):

def setDefaultPartitioning(self, storage, platform):
autorequests = [PartSpec(mountpoint="/", fstype=storage.defaultFSType,
- size=1024, grow=True, asVol=True)]
+ size=1024, maxSize=50*1024, grow=True,
+ asVol=True),
+ PartSpec(mountpoint="/home", fstype=storage.defaultFSType,
+ size=100, grow=True, asVol=True, requiredSpace=50*1024)]

bootreq = platform.setDefaultPartitioning()
if bootreq:
--
1.6.5.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 02:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org