bug-parted
[Top][All Lists]
Advanced

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

pyparted


From: Wouter Coppens
Subject: pyparted
Date: Wed, 9 Feb 2005 16:24:36 +0100

Hi,
 
I'm trying to create a filesystem using the python module of parted.
 
Some info:
dev-python/pyparted: 1.6.9
sys-apps/parted: 1.6.20
 
The creation of the partition worked ok with
newp = pdisk.partition_new( ppartitiontype, pfilesystemtype, ppart.geom.start, ppart.geom.start + size )
constraint = pdisk.dev.constraint_any()
pdisk.add_partition( newp, constraint)
 
I'm now trying to format that partition with fat32, but it doesn't work.
 
Has anybody an script which i can use as example?
 
Thanks in advance,
 
Wouter


reply via email to

[Prev in Thread] Current Thread [Next in Thread]