head	1.7;
access;
symbols
	RELENG_5_5_0_RELEASE:1.6
	RELENG_5_5:1.6.0.34
	RELENG_5_5_BP:1.6
	RELENG_5_4_0_RELEASE:1.6
	RELENG_5_4:1.6.0.32
	RELENG_5_4_BP:1.6
	RELENG_4_11_0_RELEASE:1.6
	RELENG_4_11:1.6.0.30
	RELENG_4_11_BP:1.6
	RELENG_5_3_0_RELEASE:1.6
	RELENG_5_3:1.6.0.28
	RELENG_5_3_BP:1.6
	RELENG_5:1.6.0.26
	RELENG_5_BP:1.6
	RELENG_4_10_0_RELEASE:1.6
	RELENG_4_10:1.6.0.24
	RELENG_4_10_BP:1.6
	RELENG_5_2_1_RELEASE:1.6
	RELENG_5_2_0_RELEASE:1.6
	RELENG_5_2:1.6.0.22
	RELENG_5_2_BP:1.6
	RELENG_4_9_0_RELEASE:1.6
	RELENG_4_9:1.6.0.20
	RELENG_4_9_BP:1.6
	RELENG_5_1_0_RELEASE:1.6
	RELENG_5_1:1.6.0.18
	RELENG_5_1_BP:1.6
	RELENG_4_8_0_RELEASE:1.6
	RELENG_4_8:1.6.0.16
	RELENG_4_8_BP:1.6
	RELENG_5_0_0_RELEASE:1.6
	RELENG_5_0:1.6.0.14
	RELENG_5_0_BP:1.6
	RELENG_4_7_0_RELEASE:1.6
	RELENG_4_7:1.6.0.12
	RELENG_4_7_BP:1.6
	RELENG_4_6_2_RELEASE:1.6
	RELENG_4_6_1_RELEASE:1.6
	RELENG_4_6_0_RELEASE:1.6
	RELENG_4_6:1.6.0.10
	RELENG_4_6_BP:1.6
	RELENG_4_5_0_RELEASE:1.6
	RELENG_4_5:1.6.0.8
	RELENG_4_5_BP:1.6
	RELENG_4_4_0_RELEASE:1.6
	RELENG_4_4:1.6.0.6
	RELENG_4_4_BP:1.6
	KSE_MILESTONE_2:1.6
	KSE_PRE_MILESTONE_2:1.6
	RELENG_4_3_0_RELEASE:1.6
	RELENG_4_3:1.6.0.4
	RELENG_4_3_BP:1.6
	RELENG_4_2_0_RELEASE:1.6
	RELENG_4_1_1_RELEASE:1.6
	PRE_SMPNG:1.6
	RELENG_4_1_0_RELEASE:1.6
	RELENG_3_5_0_RELEASE:1.4.2.3
	RELENG_4_0_0_RELEASE:1.6
	RELENG_4:1.6.0.2
	RELENG_4_BP:1.6
	RELENG_3_4_0_RELEASE:1.4.2.2
	RELENG_3_3_0_RELEASE:1.4.2.2
	RELENG_3_2_PAO:1.4.2.1.0.2
	RELENG_3_2_PAO_BP:1.4.2.1
	RELENG_3_2_0_RELEASE:1.4.2.1
	POST_VFS_BIO_NFS_PATCH:1.4
	PRE_VFS_BIO_NFS_PATCH:1.4
	POST_SMP_VMSHARE:1.4
	PRE_SMP_VMSHARE:1.4
	POST_NEWBUS:1.4
	PRE_NEWBUS:1.4
	RELENG_3_1_0_RELEASE:1.4
	RELENG_3:1.4.0.2
	RELENG_3_BP:1.4
	v1_0:1.1.1.1
	VINUM:1.1.1;
locks; strict;
comment	@# @;


1.7
date	2004.11.04.09.57.20;	author phk;	state dead;
branches;
next	1.6;

1.6
date	2000.02.29.06.07.01;	author grog;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	99.08.28.00.42.37;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	99.01.21.00.29.20;	author grog;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	98.12.28.04.56.23;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	98.12.27.19.38.14;	author sos;	state dead;
branches;
next	1.1;

1.1
date	98.09.16.05.56.21;	author grog;	state Exp;
branches
	1.1.1.1;
next	;

1.6.2.1
date	2012.11.17.07.26.01;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1
date	99.04.06.09.05.56;	author grog;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	99.08.29.16.24.12;	author peter;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2000.06.08.06.44.45;	author grog;	state Exp;
branches;
next	;

1.1.1.1
date	98.09.16.05.56.21;	author grog;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Remove unused vinum files.
@
text
@#!/bin/sh
# Make statetexts.h from vinumstate.h
# $FreeBSD: src/sys/dev/vinum/makestatetext,v 1.6 2000/02/29 06:07:01 grog Exp $
# $Id: makestatetext,v 1.7 1999/12/29 07:24:54 grog Exp grog $
infile=vinumstate.h
ofile=statetexts.h
echo >$ofile "/* Created by $0 on" `date`.  "Do not edit */"
echo >>$ofile
cat >> $ofile <<FOO
/*-
 * Copyright (c) 1997, 1998
 *	Nan Yang Computer Services Limited.  All rights reserved.
 *
 *  This software is distributed under the so-called \`\`Berkeley
 *  License'':
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *	This product includes software developed by Nan Yang Computer
 *      Services Limited.
 * 4. Neither the name of the Company nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *  
 * This software is provided \`\`as is'', and any express or implied
 * warranties, including, but not limited to, the implied warranties of
 * merchantability and fitness for a particular purpose are disclaimed.
 * In no event shall the company or contributors be liable for any
 * direct, indirect, incidental, special, exemplary, or consequential
 * damages (including, but not limited to, procurement of substitute
 * goods or services; loss of use, data, or profits; or business
 * interruption) however caused and on any theory of liability, whether
 * in contract, strict liability, or tort (including negligence or
 * otherwise) arising in any way out of the use of this software, even if
 * advised of the possibility of such damage.
 */

FOO

echo >>$ofile "/* Drive state texts */"
echo >>$ofile "char *drivestatetext [] = 
  { "
egrep  -e 'drive_[A-z0-9]*,'  <$infile | grep -v = | sed 's: *drive_\([^,]*\).*:  \"\1\",:' >>$ofile
cat <<FOO >> $ofile
  };

/* Subdisk state texts */
char *sdstatetext [] =
  { 
FOO
egrep  -e 'sd_[A-z0-9]*,' $infile | grep -v = | sed 's: *sd_\([^,]*\).*:  \"\1\",:' >>$ofile
cat <<FOO >> $ofile
  };

/* Plex state texts */
char *plexstatetext [] =
  { 
FOO
egrep  -e 'plex_[A-z0-9]*,' $infile | grep -v = | sed 's: *plex_\([^,]*\).*:  \"\1\",:' >>$ofile
cat <<FOO >> $ofile
  };

/* Volume state texts */
char *volstatetext [] =
  { 
FOO
egrep  -e 'volume_[A-z0-9]*,' $infile | grep -v = | sed 's: *volume_\([^,]*\).*:  \"\1\",:' >>$ofile
cat <<FOO >> $ofile
  };
FOO
@


1.6
log
@Cosmetic changes.

Approved-by:	jkh
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.6.2.1
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/4/sys/dev/vinum/makestatetext 57588 2000-02-29 06:07:01Z grog $
@


1.5
log
@$Id$ -> $FreeBSD$
@
text
@d4 1
d7 3
a9 1
cat > $ofile <<FOO
a43 1
 *
a47 2
echo >>$ofile "/* Created by $0 on" `date`.  "Do not edit */"
echo >>$ofile
@


1.4
log
@Include the copyright notice in the script, making the file COPYRIGHT
unnecessary.
@
text
@d3 1
a3 1
# $Id: makestatetext,v 1.5 1999/01/15 07:30:45 grog Exp grog $
@


1.4.2.1
log
@MFC: Commit -CURRENT version of vinum kernel components
@
text
@@


1.4.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.4.2.3
log
@MFC: Bring up to date with -CURRENT.

This change has been tested carefully, of course, but it's a very
large change, and it's possible that something has slipped through the
cracks.  I have a problem here: I can continue to test, and possibly
find more bugs, but at the same time I'm withholding much-needed
fixes.  I'd suggest a compromise: if you're running happily with
3-STABLE and you're not using RAID-5, now is probably not the time to
upgrade.  If any problems do surface, let somebody else find them.
@
text
@a3 1
# $Id: makestatetext,v 1.7 1999/12/29 07:24:54 grog Exp grog $
d6 1
a6 3
echo >$ofile "/* Created by $0 on" `date`.  "Do not edit */"
echo >>$ofile
cat >> $ofile <<FOO
d41 1
d46 2
@


1.3
log
@If I've done this right, revive the vinum code in it's now home after it
was savaged in the blood bath a few hours ago.
@
text
@d3 1
a3 1
# $Id: makestatetext,v 1.1.1.1 1998/09/16 05:56:21 grog Exp $
d6 39
a44 1
cat <COPYRIGHT > $ofile
@


1.2
log
@Remove LKM's depricated by modules.
@
text
@d3 1
a3 1
# $Id: makestatetext,v 1.1 1998/09/16 05:56:21 grog Exp $
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
# $Id: makestatetext,v 1.4 1998/03/13 05:36:16 grog Exp grog $
@


1.1.1.1
log
@Import base vinum lkm sources
@
text
@@
