Some files go away...

This commit is contained in:
mycroft 1994-06-13 19:49:28 +00:00
parent 91b6ab604d
commit 0ce67e2263
38 changed files with 208 additions and 169 deletions

View File

@ -1,7 +1,7 @@
# %W% (Berkeley) %G%
# @(#)Makefile 8.1 (Berkeley) 6/28/93
PROG= fsinfo
NOMAN= true
MAN8= fsinfo.0
SRCS= fsinfo.c fsi_gram.c fsi_lex.c \
fsi_util.c fsi_analyze.c fsi_dict.c \
wr_atab.c wr_bparam.c wr_dumpset.c \
@ -10,21 +10,18 @@ CLEANFILES= \
fsi_gram.c y.tab.c fsi_gram.h y.tab.h \
fsi_lex.c lex.yy.c y.output
CFLAGS+=-I.
CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-I${.CURDIR}/../include
CFLAGS+=-DOS_HDR=\"os-${OS}.h\"
LDADD+= -ll
DPADD+= ${LIBL}
CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-DOS_HDR=\"os-bsd44.h\"
fsi_lex.o fsinfo.o: fsi_gram.h
fsi_gram.c fsi_gram.h: ${.CURDIR}/fsi_gram.y
fsi_gram.c fsi_gram.h: ../fsinfo/fsi_gram.y
@echo "# expect 2 shift/reduce conflicts"
${YACC} -d ${.CURDIR}/fsi_gram.y
mv y.tab.c fsi_gram.c
mv y.tab.h fsi_gram.h
fsi_lex.c: ${.CURDIR}/fsi_lex.l
fsi_lex.c: ../fsinfo/fsi_lex.l
${LEX} ${.CURDIR}/fsi_lex.l
mv lex.yy.c fsi_lex.c

View File

@ -1,4 +1,4 @@
// $Id: csg_sun3,v 1.1 1993/11/27 21:20:26 mycroft Exp $
// $Id: csg_sun3,v 1.2 1994/06/13 19:49:44 mycroft Exp $
// standard setups for DoC tsuns.
// note that no /var/spool/rwho is mounted as we now expect amd to do this as /vol/rwho

View File

@ -1,4 +1,4 @@
// $Id: csg_vax,v 1.1 1993/11/27 21:20:30 mycroft Exp $
// $Id: csg_vax,v 1.2 1994/06/13 19:49:45 mycroft Exp $
// csg vax config - really just for {s,r}vax
#define FSTYPE_UFS 4.2

View File

@ -1,5 +1,5 @@
// mkfsinfo for flamingo
// $Id: flamingo.doc.ic.ac.uk,v 1.1 1993/11/27 21:20:49 mycroft Exp $
// $Id: flamingo.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:47 mycroft Exp $
host flamingo.doc.ic.ac.uk

View File

@ -1,5 +1,5 @@
// mkfsinfo for gould
// $Id: gould.doc.ic.ac.uk,v 1.1 1993/11/27 21:20:55 mycroft Exp $
// $Id: gould.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:49 mycroft Exp $
host gould.doc.ic.ac.uk

View File

@ -1,4 +1,4 @@
// $Id: ivax.doc.ic.ac.uk,v 1.1 1993/11/27 21:20:57 mycroft Exp $
// $Id: ivax.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:50 mycroft Exp $
// ivax
#define FSTYPE_UFS 4.2

View File

@ -1,4 +1,4 @@
// $Id: obsidian.doc.ic.ac.uk,v 1.1 1993/11/27 21:20:59 mycroft Exp $
// $Id: obsidian.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:51 mycroft Exp $
// conf for obsidian
#define FSTYPE_UFS hfs

View File

@ -1,5 +1,5 @@
// mkfsinfo for pelican
// $Id: pelican.doc.ic.ac.uk,v 1.1 1993/11/27 21:21:00 mycroft Exp $
// $Id: pelican.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:53 mycroft Exp $
host pelican.doc.ic.ac.uk

View File

@ -1,4 +1,4 @@
// $Id: rvax.doc.ic.ac.uk,v 1.1 1993/11/27 21:21:01 mycroft Exp $
// $Id: rvax.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:55 mycroft Exp $
// rvax
#define FSTYPE_UFS 4.2

View File

@ -1,4 +1,4 @@
// $Id: sky.doc.ic.ac.uk,v 1.1 1993/11/27 21:21:03 mycroft Exp $
// $Id: sky.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:56 mycroft Exp $
// sky
#define FSTYPE_UFS 4.2

View File

@ -1,4 +1,4 @@
// $Id: svax.doc.ic.ac.uk,v 1.1 1993/11/27 21:21:05 mycroft Exp $
// $Id: svax.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:57 mycroft Exp $
// svax
#define FSTYPE_UFS 4.2

View File

@ -1,5 +1,5 @@
// mkfsinfo for tsunfs
// $Id: tsunfs.doc.ic.ac.uk,v 1.1 1993/11/27 21:21:52 mycroft Exp $
// $Id: tsunfs.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:58 mycroft Exp $
host tsunfs.doc.ic.ac.uk

View File

@ -1,4 +1,4 @@
// $Id: whoops.doc.ic.ac.uk,v 1.1 1993/11/27 21:21:53 mycroft Exp $
// $Id: whoops.doc.ic.ac.uk,v 1.2 1994/06/13 19:49:59 mycroft Exp $
// sm's bastardised csg_sun3
// note that no /var/spool/rwho is mounted as we now expect amd to do this as /vol/rwho

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)fsi_analyze.c 8.1 (Berkeley) 6/6/93
*
* $Id: fsi_analyze.c,v 1.1 1993/11/27 21:20:00 mycroft Exp $
* $Id: fsi_analyze.c,v 1.2 1994/06/13 19:49:29 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)fsi_data.h 8.1 (Berkeley) 6/6/93
*
* $Id: fsi_data.h,v 1.1 1993/11/27 21:20:04 mycroft Exp $
* $Id: fsi_data.h,v 1.2 1994/06/13 19:49:30 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)fsi_dict.c 8.1 (Berkeley) 6/6/93
*
* $Id: fsi_dict.c,v 1.1 1993/11/27 21:20:07 mycroft Exp $
* $Id: fsi_dict.c,v 1.2 1994/06/13 19:49:31 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)fsi_gram.y 8.1 (Berkeley) 6/6/93
*
* $Id: fsi_gram.y,v 1.1 1993/11/27 21:20:09 mycroft Exp $
* $Id: fsi_gram.y,v 1.2 1994/06/13 19:49:32 mycroft Exp $
*
*/

View File

@ -2,8 +2,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -18,8 +18,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -36,9 +36,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)fsi_lex.l 8.2 (Berkeley) 2/17/94
*
* $Id: fsi_lex.l,v 1.1 1993/11/27 21:20:11 mycroft Exp $
* $Id: fsi_lex.l,v 1.2 1994/06/13 19:49:33 mycroft Exp $
*
*/
@ -163,9 +163,9 @@ struct r {
<Q>\\r { *optr++ = '\r'; /* escape */ }
<Q>\\n { *optr++ = '\n'; /* escape */ }
<Q>\\f { *optr++ = '\f'; /* escape */ }
<Q>"\\ " { *optr++ = ' '; /* force space */ }
<Q>\\. { yyerror("Unknown \\ sequence"); }
<Q>([ \t]|"\\\n"){2,} { char *p = yytext-1; while (p = strchr(p+1, '\n')) yylineno++; }
<Q>"\\ " { *optr++ = ' '; /* force space */ }
<Q>\" { BEGIN F; quoted = 0;
*optr = '\0';
yylval.s = strdup(ostr);

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -14,8 +14,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -32,9 +32,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)fsi_util.c 8.1 (Berkeley) 6/6/93
*
* $Id: fsi_util.c,v 1.1 1993/11/27 21:20:13 mycroft Exp $
* $Id: fsi_util.c,v 1.2 1994/06/13 19:49:35 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,12 +35,18 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)fsinfo.c 8.1 (Berkeley) 6/6/93
*
* $Id: fsinfo.c,v 1.1 1993/11/27 21:20:14 mycroft Exp $
* $Id: fsinfo.c,v 1.2 1994/06/13 19:49:36 mycroft Exp $
*
*/
#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
/*
* fsinfo
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)fsinfo.h 8.1 (Berkeley) 6/6/93
*
* $Id: fsinfo.h,v 1.1 1993/11/27 21:20:15 mycroft Exp $
* $Id: fsinfo.h,v 1.2 1994/06/13 19:49:37 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)wr_atab.c 8.1 (Berkeley) 6/6/93
*
* $Id: wr_atab.c,v 1.1 1993/11/27 21:20:17 mycroft Exp $
* $Id: wr_atab.c,v 1.2 1994/06/13 19:49:38 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)wr_bparam.c 8.1 (Berkeley) 6/6/93
*
* $Id: wr_bparam.c,v 1.1 1993/11/27 21:20:18 mycroft Exp $
* $Id: wr_bparam.c,v 1.2 1994/06/13 19:49:39 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)wr_dumpset.c 8.1 (Berkeley) 6/6/93
*
* $Id: wr_dumpset.c,v 1.1 1993/11/27 21:20:19 mycroft Exp $
* $Id: wr_dumpset.c,v 1.2 1994/06/13 19:49:40 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)wr_exportfs.c 8.1 (Berkeley) 6/6/93
*
* $Id: wr_exportfs.c,v 1.1 1993/11/27 21:20:20 mycroft Exp $
* $Id: wr_exportfs.c,v 1.2 1994/06/13 19:49:41 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)wr_fstab.c 8.1 (Berkeley) 6/6/93
*
* $Id: wr_fstab.c,v 1.1 1993/11/27 21:20:21 mycroft Exp $
* $Id: wr_fstab.c,v 1.2 1994/06/13 19:49:42 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)am.h 5.6 (Berkeley) 6/6/93
*
* $Id: am.h,v 1.1 1993/11/27 21:21:56 mycroft Exp $
* $Id: am.h,v 1.2 1994/06/13 19:50:03 mycroft Exp $
*
*/
@ -49,7 +49,7 @@
#include <sys/param.h>
#include <sys/socket.h>
#include <rpc/rpc.h>
#include <rpcsvc/nfs_prot.h>
#include "nfs_prot.h"
#ifdef MNTENT_HDR
#include MNTENT_HDR
#endif /* MNTENT_HDR */

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)config.h 8.1 (Berkeley) 6/6/93
*
* $Id: config.h,v 1.1 1993/11/27 21:21:58 mycroft Exp $
* $Id: config.h,v 1.2 1994/06/13 19:50:05 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)fstype.h 8.1 (Berkeley) 6/6/93
*
* $Id: fstype.h,v 1.1 1993/11/27 21:22:00 mycroft Exp $
* $Id: fstype.h,v 1.2 1994/06/13 19:50:07 mycroft Exp $
*
*/

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)uwait.h 8.1 (Berkeley) 6/6/93
*
* $Id: uwait.h,v 1.1 1993/11/27 21:22:04 mycroft Exp $
* $Id: uwait.h,v 1.2 1994/06/13 19:50:10 mycroft Exp $
*
*/

View File

@ -1,10 +1,11 @@
# %W% (Berkeley) %G%
# @(#)Makefile 8.1 (Berkeley) 6/28/93
PROG= mk-amd-map
NOMAN= true
CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-I${.CURDIR}/../include
CFLAGS+=-DOS_HDR=\"os-${OS}.h\"
CFLAGS+=-I${.CURDIR}/../rpcx
CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-DOS_HDR=\"os-bsd44.h\"
MAN8= mk-amd-map.0
.include "../../Makefile.inc"
.include <bsd.prog.mk>

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990, 1993 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)mk-amd-map.c 8.1 (Berkeley) 6/28/93
*
* $Id: mk-amd-map.c,v 1.1 1993/11/27 21:22:18 mycroft Exp $
* $Id: mk-amd-map.c,v 1.2 1994/06/13 19:50:15 mycroft Exp $
*/
/*
@ -46,15 +46,15 @@
#ifndef lint
char copyright[] = "\
@(#)Copyright (c) 1990 Jan-Simon Pendry\n\
@(#)Copyright (c) 1990, 1993 Jan-Simon Pendry\n\
@(#)Copyright (c) 1990 Imperial College of Science, Technology & Medicine\n\
@(#)Copyright (c) 1990 The Regents of the University of California.\n\
@(#)All rights reserved.\n";
@(#)Copyright (c) 1990, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char rcsid[] = "$Id: mk-amd-map.c,v 1.1 1993/11/27 21:22:18 mycroft Exp $";
static char sccsid[] = "%W% (Berkeley) %G%";
static char rcsid[] = "$Id: mk-amd-map.c,v 1.2 1994/06/13 19:50:15 mycroft Exp $";
static char sccsid[] = "@(#)mk-amd-map.c 8.1 (Berkeley) 6/28/93";
#endif /* not lint */
#include "am.h"
@ -67,7 +67,11 @@ static char sccsid[] = "%W% (Berkeley) %G%";
#define HAS_DATABASE
#include <ndbm.h>
#define create_database(name) dbm_open(name, O_RDWR|O_CREAT, 0444)
#ifdef DBM_SUFFIX
#define USING_DB
#endif
#define create_database(name) dbm_open(name, O_RDWR|O_CREAT, 0644)
static int store_data(db, k, v)
voidp db;
@ -232,8 +236,12 @@ char *argv[];
int rc = 0;
DBM *mapd;
static char maptmp[] = "dbmXXXXXX";
char maptpag[16], maptdir[16];
char *mappag, *mapdir;
char maptpag[16];
char *mappag;
#ifndef USING_DB
char maptdir[16];
char *mapdir;
#endif
int len;
char *sl;
int printit = 0;
@ -270,6 +278,20 @@ char *argv[];
if (!printit) {
len = strlen(map);
#ifdef USING_DB
mappag = (char *) malloc(len + 5);
if (!mappag) {
perror("mk-amd-map: malloc");
exit(1);
}
mktemp(maptmp);
sprintf(maptpag, "%s%s", maptmp, DBM_SUFFIX);
if (remove_file(maptpag) < 0) {
fprintf(stderr, "Can't remove existing temporary file");
perror(maptpag);
exit(1);
}
#else
mappag = (char *) malloc(len + 5);
mapdir = (char *) malloc(len + 5);
if (!mappag || !mapdir) {
@ -284,6 +306,7 @@ char *argv[];
perror(maptdir);
exit(1);
}
#endif
}
mapf = fopen(map, "r");
@ -298,6 +321,8 @@ char *argv[];
if (mapd || printit) {
int error = read_file(mapf, map, mapd);
if (mapd)
dbm_close(mapd);
(void) fclose(mapf);
if (printit) {
if (error) {
@ -309,6 +334,16 @@ char *argv[];
fprintf(stderr, "Error reading source file %s\n", map);
rc = 1;
} else {
#ifdef USING_DB
sprintf(mappag, "%s%s", map, DBM_SUFFIX);
if (rename(maptpag, mappag) < 0) {
fprintf(stderr, "Couldn't rename %s to ", maptpag);
perror(mappag);
/* Throw away the temporary map */
unlink(maptpag);
rc = 1;
}
#else
sprintf(mappag, "%s.pag", map);
sprintf(mapdir, "%s.dir", map);
if (rename(maptpag, mappag) < 0) {
@ -330,6 +365,7 @@ char *argv[];
map);
rc = 1;
}
#endif
}
}
} else {

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,15 +35,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)amq_svc.c 8.1 (Berkeley) 6/6/93
*
* $Id: amq_svc.c,v 1.1 1993/11/27 21:22:25 mycroft Exp $
* $Id: amq_svc.c,v 1.2 1994/06/13 19:50:16 mycroft Exp $
*
*/
/*#include <rpc/rpc.h>*/
#include "am.h"
#include <rpcsvc/amq.h>
#include "amq.h"
extern bool_t xdr_amq_mount_info_qelem();
void

View File

@ -1,8 +1,8 @@
/*
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
@ -17,8 +17,8 @@
* 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 the University of
* California, Berkeley and its contributors.
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@ -35,9 +35,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
* @(#)nfs_prot_svc.c 8.1 (Berkeley) 6/6/93
*
* $Id: nfs_prot_svc.c,v 1.1 1993/11/27 21:22:29 mycroft Exp $
* $Id: nfs_prot_svc.c,v 1.2 1994/06/13 19:50:17 mycroft Exp $
*
*/

View File

@ -1,3 +1,3 @@
Copyright (c) 1990 Jan-Simon Pendry
Copyright (c) 1990 Imperial College of Science, Technology & Medicine
Copyright (c) 1990 The Regents of the University of California.
Copyright (c) 1990, 1993 The Regents of the University of California.

View File

@ -191,4 +191,4 @@ mapping root to nobody.
If anything interesting happened, eg it didn't work, please report it to me
-- Jan-Simon Pendry <jsp@doc.ic.ac.uk> -- as detailed in the README file.
$Id: INSTALL,v 1.1 1993/11/27 21:22:38 mycroft Exp $
$Id: INSTALL,v 1.2 1994/06/13 19:50:20 mycroft Exp $

View File

@ -1,10 +1,10 @@
This program is an automounter.
This automounter is a value-added, replacement for the SunOS
This automounter is a value-added, replacement for the SunOS 4
automount(8) program. Though based on that program in spirit, it
contains no proprietary UN*X source code.
The version you have here is release 5.3Beta.
The version you have here is release 5.3Alpha.
This program is NOT in the Public Domain - it is covered by
the usual Berkeley software distribution license - but feel free
@ -34,4 +34,4 @@ being used. Thanks.
The manual page (amd/amd.8) only lists the command line options. See the
texinfo document doc/amdref.texinfo for a more detailed discussion.
$Id: README,v 1.1 1993/11/27 21:22:39 mycroft Exp $
$Id: README,v 1.2 1994/06/13 19:50:21 mycroft Exp $

View File

@ -2,8 +2,8 @@
#
# Copyright (c) 1989 Jan-Simon Pendry
# Copyright (c) 1989 Imperial College of Science, Technology & Medicine
# Copyright (c) 1989 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 1989, 1993
# The Regents of the University of California. All rights reserved.
#
# This code is derived from software contributed to Berkeley by
# Jan-Simon Pendry at Imperial College, London.
@ -18,8 +18,8 @@
# 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 the University of
# California, Berkeley and its contributors.
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
@ -36,11 +36,11 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# %W% (Berkeley) %G%
# @(#)amd.start.ex 8.1 (Berkeley) 6/6/93
#
# Start amd
#
# $Id: amd.start.ex,v 1.1 1993/11/27 21:22:44 mycroft Exp $
# $Id: amd.start.ex,v 1.2 1994/06/13 19:50:24 mycroft Exp $
#
PATH=/usr/sbin:/bin:/usr/bin:$PATH export PATH