Import 4.4-Lite version.

This commit is contained in:
mycroft 1994-06-13 22:50:46 +00:00
parent 16573e290b
commit 0924c7ec2d
31 changed files with 44 additions and 70 deletions

View File

@ -29,8 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)dumplfs.8 8.1 (Berkeley) 6/18/93
.\" $Id: dumplfs.8,v 1.1 1994/06/08 18:58:48 mycroft Exp $
.\" @(#)dumplfs.8 8.1 (Berkeley) 6/18/93
.\"
.Dd June 18, 1993
.Dt DUMPLFS 8

View File

@ -38,8 +38,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)dumplfs.c 8.1 (Berkeley) 6/5/93";*/
static char *rcsid = "$Id: dumplfs.c,v 1.1 1994/06/08 18:58:50 mycroft Exp $";
static char sccsid[] = "@(#)dumplfs.c 8.1 (Berkeley) 6/5/93";
#endif /* not lint */
#include <sys/param.h>

View File

@ -30,8 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)extern.h 8.1 (Berkeley) 6/5/93
* $Id: extern.h,v 1.1 1994/06/08 18:58:51 mycroft Exp $
* @(#)extern.h 8.1 (Berkeley) 6/5/93
*/
void err __P((const char *, ...));

View File

@ -32,8 +32,7 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)misc.c 8.1 (Berkeley) 6/5/93";*/
static char *rcsid = "$Id: misc.c,v 1.1 1994/06/08 18:58:52 mycroft Exp $";
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/5/93";
#endif /* not lint */
#include <sys/types.h>

View File

@ -1,5 +1,4 @@
# from: @(#)Makefile 8.2 (Berkeley) 3/27/94
# $Id: Makefile,v 1.1 1994/06/08 19:15:55 mycroft Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94
PROG= mount_lfs
SRCS= mount_lfs.c getmntopts.c

View File

@ -29,8 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mount_lfs.8 8.5 (Berkeley) 3/30/94
.\" $Id: mount_lfs.8,v 1.1 1994/06/08 19:15:56 mycroft Exp $
.\" @(#)mount_lfs.8 8.5 (Berkeley) 3/30/94
.\"
.Dd "March 30, 1994"
.Dt MOUNT_LFS 8

View File

@ -38,8 +38,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)mount_lfs.c 8.3 (Berkeley) 3/27/94";*/
static char *rcsid = "$Id: mount_lfs.c,v 1.1 1994/06/08 19:15:57 mycroft Exp $";
static char sccsid[] = "@(#)mount_lfs.c 8.3 (Berkeley) 3/27/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -30,8 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)pathnames.h 8.1 (Berkeley) 6/8/93
* $Id: pathnames.h,v 1.1 1994/06/08 19:15:59 mycroft Exp $
* @(#)pathnames.h 8.1 (Berkeley) 6/8/93
*/
#define _PATH_LFS_CLEANERD "/usr/libexec/lfs_cleanerd"

View File

@ -1,5 +1,4 @@
# from: @(#)Makefile 8.2 (Berkeley) 3/27/94
# $Id: Makefile,v 1.1 1994/06/08 19:23:02 mycroft Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94
PROG= mount_nfs
SRCS= mount_nfs.c getmntopts.c
@ -9,4 +8,7 @@ MOUNT= ${.CURDIR}/../mount
CFLAGS+= -DNFS -I${MOUNT}
.PATH: ${MOUNT}
DPADD= ${LIBRPC}
LDADD= -lrpc
.include <bsd.prog.mk>

View File

@ -29,8 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mount_nfs.8 8.2 (Berkeley) 3/27/94
.\" $Id: mount_nfs.8,v 1.1 1994/06/08 19:23:03 mycroft Exp $
.\" @(#)mount_nfs.8 8.2 (Berkeley) 3/27/94
.\"
.Dd March 27, 1994
.Dt MOUNT_NFS 8

View File

@ -41,8 +41,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)mount_nfs.c 8.3 (Berkeley) 3/27/94";*/
static char *rcsid = "$Id: mount_nfs.c,v 1.1 1994/06/08 19:23:05 mycroft Exp $";
static char sccsid[] = "@(#)mount_nfs.c 8.3 (Berkeley) 3/27/94";
#endif /* not lint */
#include <sys/param.h>
@ -188,7 +187,6 @@ main(argc, argv)
case 'd':
nfsargsp->flags |= NFSMNT_DUMBTIMR;
break;
#if 0 /* XXXX */
case 'g':
num = strtol(optarg, &p, 10);
if (*p || num <= 0)
@ -197,7 +195,6 @@ main(argc, argv)
nfsargsp->maxgrouplist = num;
nfsargsp->flags |= NFSMNT_MAXGRPS;
break;
#endif
case 'i':
nfsargsp->flags |= NFSMNT_INT;
break;

View File

@ -34,8 +34,8 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mount_null.8 8.4 (Berkeley) 4/19/94
.\" $Id: mount_null.8,v 1.1 1994/06/08 19:23:43 mycroft Exp $
.\" @(#)mount_null.8 8.4 (Berkeley) 4/19/94
.\"
.\"
.Dd April 19, 1994
.Dt MOUNT_NULL 8

View File

@ -41,8 +41,7 @@ char copyright[] =
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)mount_null.c 8.5 (Berkeley) 3/27/94";*/
static char *rcsid = "$Id: mount_null.c,v 1.1 1994/06/08 19:23:44 mycroft Exp $";
static char sccsid[] = "@(#)mount_null.c 8.5 (Berkeley) 3/27/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -1,5 +1,4 @@
# from: @(#)Makefile 8.3 (Berkeley) 3/27/94
# $Id: Makefile,v 1.1 1994/06/08 19:28:10 mycroft Exp $
# @(#)Makefile 8.3 (Berkeley) 3/27/94
PROG= mount_umap
SRCS= mount_umap.c getmntopts.c

View File

@ -33,8 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mount_umap.8 8.3 (Berkeley) 3/27/94
.\" $Id: mount_umap.8,v 1.1 1994/06/08 19:28:12 mycroft Exp $
.\" @(#)mount_umap.8 8.3 (Berkeley) 3/27/94
.\"
.Dd "March 27, 1994"
.Dt MOUNT_UMAP 8

View File

@ -41,8 +41,7 @@ char copyright[] =
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)mount_umap.c 8.3 (Berkeley) 3/27/94";*/
static char *rcsid = "$Id: mount_umap.c,v 1.1 1994/06/08 19:28:13 mycroft Exp $";
static char sccsid[] = "@(#)mount_umap.c 8.3 (Berkeley) 3/27/94";
#endif /* not lint */
#include <sys/param.h>
@ -190,7 +189,7 @@ main(argc, argv)
errx(1, "%s does not belong to root%s", gmapfile, not);
#endif /* MAPSECURITY */
if ((fscanf(gfp, "%d\n", &gnentries)) != 1)
if ((fscanf(fp, "%d\n", &gnentries)) != 1)
errx(1, "nentries not found%s", gmapfile, not);
if (gnentries > MAPFILEENTRIES)
errx(1,
@ -200,11 +199,11 @@ main(argc, argv)
#endif
for (count = 0; count < gnentries; ++count)
if ((fscanf(gfp, "%lu %lu\n",
if ((fscanf(fp, "%lu %lu\n",
&(gmapdata[count][0]), &(gmapdata[count][1]))) != 2) {
if (ferror(gfp))
if (ferror(fp))
err(1, "%s%s", gmapfile, not);
if (feof(gfp))
if (feof(fp))
errx(1, "%s: unexpected end-of-file%s",
gmapfile, not);
errx(1, "%s: illegal format (line %d)%s",

View File

@ -1,5 +1,4 @@
# from: @(#)Makefile 8.3 (Berkeley) 3/27/94
# $Id: Makefile,v 1.1 1994/06/08 19:29:09 mycroft Exp $
# @(#)Makefile 8.3 (Berkeley) 3/27/94
PROG= mount_union
SRCS= mount_union.c getmntopts.c

View File

@ -32,8 +32,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mount_union.8 8.6 (Berkeley) 3/27/94
.\" $Id: mount_union.8,v 1.1 1994/06/08 19:29:11 mycroft Exp $
.\" @(#)mount_union.8 8.6 (Berkeley) 3/27/94
.\"
.Dd March 27, 1994
.Dt MOUNT_UNION 8

View File

@ -41,8 +41,7 @@ char copyright[] =
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)mount_union.c 8.5 (Berkeley) 3/27/94";*/
static char *rcsid = "$Id: mount_union.c,v 1.1 1994/06/08 19:29:13 mycroft Exp $";
static char sccsid[] = "@(#)mount_union.c 8.5 (Berkeley) 3/27/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -29,8 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)netgroup.5 8.2 (Berkeley) 12/11/93
.\" $Id: netgroup.5,v 1.1 1994/06/08 19:29:48 mycroft Exp $
.\" @(#)netgroup.5 8.2 (Berkeley) 12/11/93
.\"
.Dd December 11, 1993
.Dt NETGROUP 5

View File

@ -30,8 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)config.h 8.2 (Berkeley) 4/22/94
* $Id: config.h,v 1.1 1994/06/08 19:31:17 mycroft Exp $
* @(#)config.h 8.2 (Berkeley) 4/22/94
*/
/*

View File

@ -30,8 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)extern.h 8.1 (Berkeley) 6/5/93
* $Id: extern.h,v 1.1 1994/06/08 19:31:18 mycroft Exp $
* @(#)extern.h 8.1 (Berkeley) 6/5/93
*/
u_long cksum __P((void *, size_t));

View File

@ -32,8 +32,7 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lfs.c 8.1 (Berkeley) 6/5/93";*/
static char *rcsid = "$Id: lfs.c,v 1.1 1994/06/08 19:31:19 mycroft Exp $";
static char sccsid[] = "@(#)lfs.c 8.1 (Berkeley) 6/5/93";
#endif /* not lint */
#include <sys/param.h>
@ -144,8 +143,7 @@ static struct lfs lfs_default = {
/* lfs_flags */ 0,
/* lfs_fsmnt */ { 0 },
/* lfs_pad */ { 0 },
/* lfs_cksum */ 0,
/* lfs_maxsymlinklen */ MAXSYMLINKLEN
/* lfs_cksum */ 0
};
@ -607,6 +605,10 @@ put(fd, off, p, len)
* directory.
*/
u_long d_ino; /* inode number of entry */
u_short d_reclen; /* length of this record */
u_short d_namlen; /* length of string in d_name */
char d_name[MAXNAMLEN + 1]; /* name with length <= MAXNAMLEN */
void
lfsinit()
{}

View File

@ -32,8 +32,7 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)misc.c 8.1 (Berkeley) 6/5/93";*/
static char *rcsid = "$Id: misc.c,v 1.1 1994/06/08 19:31:21 mycroft Exp $";
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/5/93";
#endif /* not lint */
#include <sys/types.h>

View File

@ -38,8 +38,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)newfs.c 8.3 (Berkeley) 4/22/94";*/
static char *rcsid = "$Id: newfs.c,v 1.1 1994/06/08 19:31:24 mycroft Exp $";
static char sccsid[] = "@(#)newfs.c 8.3 (Berkeley) 4/22/94";
#endif /* not lint */
/*

View File

@ -29,8 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)newlfs.8 8.1 (Berkeley) 6/19/93
.\" $Id: newlfs.8,v 1.1 1994/06/08 19:31:25 mycroft Exp $
.\" @(#)newlfs.8 8.1 (Berkeley) 6/19/93
.\"
.Dd June 19, 1993
.Dt NEWLFS 8

View File

@ -29,8 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)umount.8 8.1 (Berkeley) 2/20/94
.\" $Id: umount.8,v 1.1 1994/06/08 19:34:38 mycroft Exp $
.\" @(#)umount.8 8.1 (Berkeley) 2/20/94
.\"
.Dd February 20, 1994
.Dt UMOUNT 8

View File

@ -29,8 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)dumplfs.8 8.1 (Berkeley) 6/18/93
.\" $Id: dumplfs.8,v 1.1 1994/06/08 18:58:48 mycroft Exp $
.\" @(#)dumplfs.8 8.1 (Berkeley) 6/18/93
.\"
.Dd June 18, 1993
.Dt DUMPLFS 8

View File

@ -38,8 +38,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)dumplfs.c 8.1 (Berkeley) 6/5/93";*/
static char *rcsid = "$Id: dumplfs.c,v 1.1 1994/06/08 18:58:50 mycroft Exp $";
static char sccsid[] = "@(#)dumplfs.c 8.1 (Berkeley) 6/5/93";
#endif /* not lint */
#include <sys/param.h>

View File

@ -30,8 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)extern.h 8.1 (Berkeley) 6/5/93
* $Id: extern.h,v 1.1 1994/06/08 18:58:51 mycroft Exp $
* @(#)extern.h 8.1 (Berkeley) 6/5/93
*/
void err __P((const char *, ...));

View File

@ -32,8 +32,7 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)misc.c 8.1 (Berkeley) 6/5/93";*/
static char *rcsid = "$Id: misc.c,v 1.1 1994/06/08 18:58:52 mycroft Exp $";
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/5/93";
#endif /* not lint */
#include <sys/types.h>