From d782b485b3b663a97355424996d7f7c1c41279ab Mon Sep 17 00:00:00 2001 From: sakolish Date: Mon, 21 Apr 2008 13:22:39 +0000 Subject: [PATCH] Changed -w (write MAX to xCAT database) to -d (display MAC only) - default to write always git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client-2.0/pods/man1/getmacs.1.pod | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/xCAT-client-2.0/pods/man1/getmacs.1.pod b/xCAT-client-2.0/pods/man1/getmacs.1.pod index ae91c0be5..41f0832dd 100644 --- a/xCAT-client-2.0/pods/man1/getmacs.1.pod +++ b/xCAT-client-2.0/pods/man1/getmacs.1.pod @@ -8,7 +8,7 @@ I I -I [-c][-w][-S server -G gateway -C client] +I [-c][-d][-S server -G gateway -C client] =head1 DESCRIPTION @@ -21,6 +21,8 @@ B<-c> Colon seperated output. B<-C> IP address of the partition. +B<-d> Display MAC only. The default is to write the first adapter MAC to the xCAT database. + B<-G> Gateway IP address of the partition specified with the -C option. B<-h> Display usage message. @@ -31,8 +33,6 @@ B<-v> Command Version. B<-V> Verbose output. -B<-w> Writes first adapter MAC to the xCAT database. - =head1 RETURN VALUE @@ -43,7 +43,7 @@ B<-w> Writes first adapter MAC to the xCAT database. =head1 EXAMPLES -1. To retrieve the MAC address for the HMC-managed partition lpar4, enter: +1. To retrieve the MAC address for the HMC-managed partition lpar4 and write the first adapter MAC to the xCAT database, enter: I @@ -57,9 +57,9 @@ ent U9133.55A.10B7D1G-V12-C4-T1 8ee2245cf004 /vdevice/l-lan@30000004 virtual -2. To retrieve the MAC address for the HMC-managed partition lpar4 and display trhe result in colon-seperated format, enter: +2. To retrieve the MAC address for the HMC-managed partition lpar4 and display the result only in colon-seperated format, enter: -I +I Output is similar to: @@ -71,9 +71,9 @@ ent:U9133.55A.10B7D1G-V12-C4-T1:8ee2245cf004:/vdevice/l-lan@30000004::virtual::: -3. To retrieve the MAC address while performing a ping test for the HMC-managed partition lpar4 and display the result in colon-seperated format, enter: +3. To retrieve the MAC address while performing a ping test for the HMC-managed partition lpar4 and display the result only in colon-seperated format, enter: -I +I #Type:Location_Code:MAC_Address:Full_Path_Name:Ping_Result:Device_Type:Size_MB:OS:OS_Version: @@ -93,3 +93,4 @@ This command is part of the xCAT software product. +