#!/usr/bin/bsh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos720 src/bos/usr/sbin/mkproto/mkproto.sh 1.10 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 1989,1993 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # @(#)51 1.10 src/bos/usr/sbin/mkproto/mkproto.sh, cmdfiles, bos720 3/21/07 08:13:05 # # COMPONENT_NAME: (CMDFILES) commands that manipulate files # # FUNCTIONS: mkproto # # ORIGINS: 27 # # (C) COPYRIGHT International Business Machines Corp. 1989, 1993 # All Rights Reserved # Licensed Materials - Property of IBM # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # mkproto special proto # # BSD interface to mkfs # # PTM 35193: Redirected the Error Message to stderr. if [ $# != 2 -o "$1" = "" -o "$2" = "" ] ; then if msg=`/usr/bin/dspmsg -s 1 mkproto.cat 1 "Usage: mkproto special proto"` then : else msg="Usage: mkproto special proto" fi echo $msg >&2 exit 1 fi exec /usr/sbin/mkfs -p "$2" $1