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 Masters Of The Universe

 
 
LinkBack Thread Tools
 
Old 02-11-2009, 11:54 PM
David Cantrell
 
Default Pass a parted.FileSystem to parted.Partition.__init__()

---
autopart.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/autopart.py b/autopart.py
index 6b5f887..648a1bb 100644
--- a/autopart.py
+++ b/autopart.py
@@ -478,8 +478,9 @@ def fitSized(diskset, requests, primOnly = 0, newParts = None):
geometry = parted.Geometry(device=disk.device,
start=startSec,
end=endSec)
+ fs=parted.FileSystem(type=fsType.name, geometry=geometry)
newp = parted.Partition(disk=disk, type=partType,
- fs=fsType, geometry=geometry)
+ fs=fs, geometry=geometry)
constraint = parted.Constraint(device=disk.device)

try:
--
1.6.1.3

_______________________________________________
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 09:31 AM.

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