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 > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-28-2007, 10:05 PM
Jeremy Katz
 
Default Actually do the resizing

We do filesystem shrinking, then commit the partition table, and then
filesystem growing so that the container for the filesystem is always as large
or larger than the filesystem
---
packages.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/packages.py b/packages.py
index bbf2b8c..99f9a38 100644
--- a/packages.py
+++ b/packages.py
@@ -148,8 +148,10 @@ def turnOnFilesystems(anaconda):
searchPath = 1)
anaconda.id.partitions.doMetaDeletes(anaconda.id.d iskset)
anaconda.id.fsset.setActive(anaconda.id.diskset)
+ anaconda.id.fsset.shrinkFilesystems(anaconda.rootP ath)
if not anaconda.id.fsset.isActive():
anaconda.id.diskset.savePartitions ()
+ anaconda.id.fsset.growFilesystems(anaconda.rootPat h)
if not anaconda.id.fsset.volumesCreated:
anaconda.id.fsset.createLogicalVolumes(anaconda.ro otPath)
anaconda.id.fsset.formatSwap(anaconda.rootPath)
--
1.5.3.4

_______________________________________________
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 01:42 PM.

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