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 > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-14-2010, 05:46 PM
Peter Jones
 
Default Use blacklist_exceptions for mpath devices (#612399)

On 07/13/2010 02:06 PM, Brian C. Lane wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/13/2010 10:25 AM, Peter Jones wrote:
>> From: NEC <mfuruta@redhat.com>
>>
>> This makes anaconda generate a blacklist_exceptions section in multipath.conf
>> ---
>> storage/devicelibs/mpath.py | 8 ++++++++
>> 1 files changed, 8 insertions(+), 0 deletions(-)
>>
>> diff --git a/storage/devicelibs/mpath.py b/storage/devicelibs/mpath.py
>> index 50cccfd..ae7b257 100644
>> --- a/storage/devicelibs/mpath.py
>> +++ b/storage/devicelibs/mpath.py
>> @@ -232,6 +232,14 @@ blacklist {
>> ret += ' vendor %s
' % device.vendor
>> ret += ' product %s
' % device.model
>> ret += ' }
'
>> + if self.mpaths:
>> + ret += ' wwid "*"
'
>> + ret += '}
'
>> + ret += 'blacklist_exceptions {
'
>> + for mpath in self.mpaths:
>> + for k,v in mpath.config.items():
>> + if k == 'wwid':
>> + ret += ' wwid %s
' % v
>> ret += '}
'
>> ret += 'multipaths {
'
>> for mpath in self.mpaths:
>
> Please convert tabs to spaces.

I've pushed it with this change.

--
Peter

RFC 882 put the dots in .com.

01234567890123456789012345678901234567890123456789 012345678901234567890123456789

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

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