From ff728f92bf4015feaae3733744f2b705f5cfcc82 Mon Sep 17 00:00:00 2001 From: immarvin Date: Mon, 7 Jan 2013 03:10:00 +0000 Subject: [PATCH] add <-w|--nonoverwrite> option to check whether the os disc has already been copied in git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man8/copycds.8.pod | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xCAT-client/pods/man8/copycds.8.pod b/xCAT-client/pods/man8/copycds.8.pod index 265f1a288..083147e96 100644 --- a/xCAT-client/pods/man8/copycds.8.pod +++ b/xCAT-client/pods/man8/copycds.8.pod @@ -4,7 +4,7 @@ B - Copies Linux distributions and service levels from DVDs/ISOs to the =head1 SYNOPSIS -B [{B<-n|--name|--osver>}=I] [{B<-a|--arch>}=I] [{B<-p|--path>}=I] [B<-o>|B<--noosimage>] {I|I} ... +B [{B<-n|--name|--osver>}=I] [{B<-a|--arch>}=I] [{B<-p|--path>}=I] [B<-o>|B<--noosimage>] [B<-w>|B<--nonoverwrite>] {I|I} ... B [B<-i>|B<--inspection>] {I|I} @@ -15,6 +15,7 @@ B [B<-h>|B<--help>] The B command copies all contents of Distribution DVDs/ISOs or Service Pack DVDs/ISOs to a destination directory. The destination directory can be specified by the -p option. If no path is specified, the default destination directory will be formed from the B site attribute and the distro name and architecture, for example: /install/rhels6.3/x86_64. The B command can copy from one or more ISO files, or the CD/DVD device path. You can specify -i or --inspection option to check whether the DVDs/ISOs can be recognized by xCAT. If recognized, the distribution name, architecture and the disc no (the disc sequence number of DVDs/ISOs in multi-disk distribution) of the DVD/ISO is displayed. If xCAT doesn't recognize the DVD/ISO, you must manually specify the distro name and architecture using the -n and -a options. This is sometimes the case for distros that have very recently been released, and the xCAT code hasn't been updated for it yet. + You can get xCAT to recognize new DVDs/ISOs by adding them to /opt/xcat/lib/perl/xCAT/data/discinfo.pm and reloading xcatd (service xcatd reload). =head1 OPTIONS @@ -41,6 +42,10 @@ Check whether xCAT can recognize the DVDs/ISOs in the argument list, but do not Do not create the default osimages based on the osdistro copied in. By default, copycds will create a set of osimages based on the osdistro. +=item {B<-w|--nonoverwrite>} + +Complain and exit if the os disc has already been copied in. By default, copycds will overwrite the os disc already copied in. + =back =head1 RETURN VALUE