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 > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 10-04-2011, 05:52 PM
Christophe Varoqui
 
Default 'multipath' with -h and -t option, it returns '1' (fail) for successful command execution.

On mar., 2011-10-04 at 11:08 +0530, aruna wrote:
> Hi,
>
> The patch handles the exit status of -h and -t option for multipath
> command.
>
You patch does not apply to the HEAD. And you should submit with patch
inline for "git am" to work and preserve your patch comment and
authorship.

Thanks,
cvaroqui

> # multipath -h
> multipath-tools v0.4.9 (05/33, 2016)
> Usage:
> multipath [-d] [-r] [-v lvl] [-p pol] [-b fil] [dev]
> multipath -l|-ll|-f [-v lvl] [-b fil] [dev]
> multipath -F [-v lvl]
> multipath -t
> multipath -h
>
> .......
>
> # echo $?
> 1
>
>
> # multipath -t | more
> defaults {
> verbosity 2
> polling_interval 10
> udev_dir "/dev"
> multipath_dir "/lib64/multipath"
> ...
> }
> ...
>
>
> # echo $?
> 1
>
>
> Since kernel.org is unavailable i have got the recent snapshot from
>
> http://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=f7735ad547d9ebb952993ac0a6def040 0fb23c80;sf=tgz
>
>
> Thanks,
> Aruna Balakrishnaiah
>


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 03:19 PM.

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