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 > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 01-25-2010, 12:01 PM
Martin Sivak
 
Default Add DMRaidArrayDevice description and model properties (#558440)

OK. Martin

----- "Hans de Goede" <hdegoede@redhat.com> wrote:

> ---
> storage/devices.py | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/storage/devices.py b/storage/devices.py
> index f0884ce..36f0675 100644
> --- a/storage/devices.py
> +++ b/storage/devices.py
> @@ -2940,6 +2940,14 @@ class DMRaidArrayDevice(DMDevice):
>
> log.debug("not tearing down dmraid device %s" % self.name)
>
> + @property
> + def description(self):
> + return "BIOS RAID set (%s)" % self._raidSet.rs.set_type
> +
> + @property
> + def model(self):
> + return self.description
> +
> def dracutSetupString(self):
> return "rd_DM_UUID=%s" % self.name
>
> --
> 1.6.5.2
>
> _______________________________________________
> 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 10:05 PM.

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