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 08-11-2010, 03:43 PM
Chris Lumens
 
Default Do not support "part --grow raid.XX" (#577432).

---
pyanaconda/kickstart.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 880503d..8ac5141 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -684,6 +684,9 @@ class PartitionData(commands.partition.F12_PartData):
if devicetree.getDeviceByName(kwargs["name"]):
raise KickstartValueError, formatErrorMsg(self.lineno, msg="RAID partition defined multiple times")

+ if self.grow:
+ raise KickstartValueError, formatErrorMsg(self.lineno, msg="--grow is not supported for RAID partitions")
+
# store "raid." alias for other ks partitioning commands
if self.onPart:
anaconda.ksdata.onPart[kwargs["name"]] = self.onPart
--
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 08-11-2010, 04:00 PM
David Lehman
 
Default Do not support "part --grow raid.XX" (#577432).

Ack. Should we also desensitize the grow options in the create partition
dialog based on the formatting, or is that too much risk for too little
gain?

On Wed, 2010-08-11 at 11:43 -0400, Chris Lumens wrote:
> ---
> pyanaconda/kickstart.py | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
> index 880503d..8ac5141 100644
> --- a/pyanaconda/kickstart.py
> +++ b/pyanaconda/kickstart.py
> @@ -684,6 +684,9 @@ class PartitionData(commands.partition.F12_PartData):
> if devicetree.getDeviceByName(kwargs["name"]):
> raise KickstartValueError, formatErrorMsg(self.lineno, msg="RAID partition defined multiple times")
>
> + if self.grow:
> + raise KickstartValueError, formatErrorMsg(self.lineno, msg="--grow is not supported for RAID partitions")
> +
> # store "raid." alias for other ks partitioning commands
> if self.onPart:
> anaconda.ksdata.onPart[kwargs["name"]] = self.onPart


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 08-11-2010, 04:02 PM
Hans de Goede
 
Default Do not support "part --grow raid.XX" (#577432).

ack.

On 08/11/2010 05:43 PM, Chris Lumens wrote:

---
pyanaconda/kickstart.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 880503d..8ac5141 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -684,6 +684,9 @@ class PartitionData(commands.partition.F12_PartData):
if devicetree.getDeviceByName(kwargs["name"]):
raise KickstartValueError, formatErrorMsg(self.lineno, msg="RAID partition defined multiple times")

+ if self.grow:
+ raise KickstartValueError, formatErrorMsg(self.lineno, msg="--grow is not supported for RAID partitions")
+
# store "raid." alias for other ks partitioning commands
if self.onPart:
anaconda.ksdata.onPart[kwargs["name"]] = self.onPart


_______________________________________________
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 11:14 AM.

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