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 > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-05-2010, 11:28 PM
David Cantrell
 
Default Keep the end sector aligned when resizing partitions (#560647)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ack.

On Wed, 3 Feb 2010, Hans de Goede wrote:


This is esp. important with DASD's as these will only accept properly
aligned partitions.
---
storage/devices.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 9e95084..a0fe78c 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1276,6 +1276,9 @@ class PartitionDevice(StorageDevice):
newGeometry = parted.Geometry(device=currentDev,
start=currentGeom.start,
length=newLen)
+ # and align the end sector
+ newGeometry.end = self.disk.format.endAlignment.alignDown(newGeometr y,
+ newGeometry.end)
constraint = parted.Constraint(exactGeom=newGeometry)

return (constraint, newGeometry)



- --
David Cantrell <dcantrell@redhat.com>

Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAktst5gACgkQ5hsjjIy1VkmFwACgwajsLcTRJd wMTVd8Nsw4Lp4K
24UAmQH24Q0BzKQWg31Dbv0tHYJsHSnW
=jyVB
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-06-2010, 08:39 AM
Hans de Goede
 
Default Keep the end sector aligned when resizing partitions (#560647)

Hi,

On 02/06/2010 01:28 AM, David Cantrell wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ack.



Thanks,

Do we want to have this in Beta1 ? If so the bug should be
promoted to a beta1 blocker.

Regards,

Hans



On Wed, 3 Feb 2010, Hans de Goede wrote:


This is esp. important with DASD's as these will only accept properly
aligned partitions.
---
storage/devices.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 9e95084..a0fe78c 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1276,6 +1276,9 @@ class PartitionDevice(StorageDevice):
newGeometry = parted.Geometry(device=currentDev,
start=currentGeom.start,
length=newLen)
+ # and align the end sector
+ newGeometry.end = self.disk.format.endAlignment.alignDown(newGeometr y,
+ newGeometry.end)
constraint = parted.Constraint(exactGeom=newGeometry)

return (constraint, newGeometry)



- -- David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAktst5gACgkQ5hsjjIy1VkmFwACgwajsLcTRJd wMTVd8Nsw4Lp4K
24UAmQH24Q0BzKQWg31Dbv0tHYJsHSnW
=jyVB
-----END PGP SIGNATURE-----

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


_______________________________________________
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 04:30 PM.

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