diff options
-rw-r--r-- | Makefile | 34 | ||||
-rw-r--r-- | include/automount.h | 1 | ||||
-rw-r--r-- | include/linux/auto_fs.h | 1 | ||||
-rw-r--r-- | man/Makefile | 2 | ||||
-rw-r--r-- | man/auto.master.5 | 1 | ||||
-rw-r--r-- | man/autofs.5 | 1 | ||||
-rw-r--r-- | man/autofs.8 | 1 | ||||
-rw-r--r-- | man/automount.8 | 2 | ||||
-rw-r--r-- | modules/Makefile | 1 | ||||
-rw-r--r-- | modules/lookup_file.c | 18 | ||||
-rw-r--r-- | modules/lookup_program.c | 20 | ||||
-rw-r--r-- | modules/lookup_yp.c | 19 | ||||
-rw-r--r-- | modules/mount_generic.c | 18 | ||||
-rw-r--r-- | modules/mount_nfs.c | 18 | ||||
-rw-r--r-- | modules/mount_smbfs.c | 1 | ||||
-rw-r--r-- | modules/parse_sun.c | 18 | ||||
-rw-r--r-- | samples/auto.master | 1 | ||||
-rw-r--r-- | samples/auto.misc | 1 | ||||
-rw-r--r-- | samples/rc.autofs | 2 |
19 files changed, 102 insertions, 58 deletions
@@ -36,38 +36,4 @@ TODAY := $(shell date +'%Y%m%d') backup: mrproper cd .. ; tar cf - autofs | gzip -9 > autofs-bu-$(TODAY).tar.gz -RELEASE := $(shell cat .version) - -.PHONY: release newrelease - -reldir: - -rm -rf autofs-$(RELEASE) autofs-$(RELEASE).tar.gz - mkdir autofs-$(RELEASE) - cp -R $(SUBDIRS) $(INCDIRS) $(INCFILES) autofs-$(RELEASE) - $(MAKE) -C autofs-$(RELEASE) distclean - find autofs-$(RELEASE) -noleaf -name \*norel -print0 | xargs -0 rm -rf - -release: reldir - -rm -f .prerel .lastrel - cp .version .lastrel - tar cvvf - autofs-$(RELEASE) | gzip -9 > autofs-$(RELEASE).tar.gz - -since: - mv -f NEWS NEWS.old - echo 'Since autofs-$(RELEASE):' > NEWS - echo 'Since autofs-$(RELEASE):' | sed -e 's/./-/g' >> NEWS - echo '' >> NEWS - cat NEWS.old >> NEWS - -newrelease: clean since - echo `cut -d. -f1-2 < .version`.`expr \`cut -d. -f3 < .version\` + 1` \ - > .version - -newminorrelease: clean since - echo `cut -d. -f1 < .version`.`expr \`cut -d. -f2 < .version\` + 1`.0 \ - > .version - -newmajorrelease: clean since - echo `expr \`cut -d. -f1 < .version\` + 1`.0.0 > .version - -include Makefile.private diff --git a/include/automount.h b/include/automount.h index c7b6baf..1e8a001 100644 --- a/include/automount.h +++ b/include/automount.h @@ -1,3 +1,4 @@ +#ident "$Id$" /* * automount.h * diff --git a/include/linux/auto_fs.h b/include/linux/auto_fs.h index 2b25d29..92eaf6f 100644 --- a/include/linux/auto_fs.h +++ b/include/linux/auto_fs.h @@ -1,3 +1,4 @@ +#ident "$Id$" /* -*- linux-c -*- ------------------------------------------------------- * * * linux/include/linux/auto_fs.h diff --git a/man/Makefile b/man/Makefile index ba92087..ae958c0 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,3 +1,5 @@ +# $Id$ + include ../Makefile.rules install: diff --git a/man/auto.master.5 b/man/auto.master.5 index 867bb6f..8ecf72e 100644 --- a/man/auto.master.5 +++ b/man/auto.master.5 @@ -1,4 +1,5 @@ .\" t +.\" $Id$ .TH AUTO.MASTER 5 "9 Sep 1997" .SH NAME /etc/auto.master \- Master Map for automounter diff --git a/man/autofs.5 b/man/autofs.5 index fef8f39..d47b215 100644 --- a/man/autofs.5 +++ b/man/autofs.5 @@ -1,4 +1,5 @@ .\" t +.\" $Id$ .TH AUTOFS 5 "29 Sep 1997" .SH NAME autofs \- Format of the automounter maps diff --git a/man/autofs.8 b/man/autofs.8 index d2221ed..8e00d0a 100644 --- a/man/autofs.8 +++ b/man/autofs.8 @@ -1,3 +1,4 @@ +.\" $Id$ .TH AUTOFS 8 "9 Sep 1997" .SH NAME /etc/init.d/autofs \- Control Script for automounter diff --git a/man/automount.8 b/man/automount.8 index 3fa0544..7bbed2b 100644 --- a/man/automount.8 +++ b/man/automount.8 @@ -6,6 +6,8 @@ .\" .\" This is free documentation. .\" +.\" $Id$ +.\" .TH AUTOMOUNT 8 "17 Sep 1997" .SH NAME automount \- configure mount points for autofs diff --git a/modules/Makefile b/modules/Makefile index ee08b43..c2a709b 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -1,3 +1,4 @@ +# $Id$ # # Makefile for autofs # diff --git a/modules/lookup_file.c b/modules/lookup_file.c index 17200a0..d3b75e8 100644 --- a/modules/lookup_file.c +++ b/modules/lookup_file.c @@ -1,8 +1,18 @@ -/* - * lookup_file.c +#ident "$Id$" +/* ----------------------------------------------------------------------- * + * + * lookup_file.c - module for Linux automount to query a flat file map * - * Module for Linux automountd to access a plain file automount map - */ + * Copyright 1997 Transmeta Corporation - All Rights Reserved + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139, + * USA; either version 2 of the License, or (at your option) any later + * version; incorporated herein by reference. + * + * ----------------------------------------------------------------------- */ + #include <stdio.h> #include <malloc.h> diff --git a/modules/lookup_program.c b/modules/lookup_program.c index ccd8c83..9b84a97 100644 --- a/modules/lookup_program.c +++ b/modules/lookup_program.c @@ -1,7 +1,21 @@ -/* - * lookup_program.c +#ident "$Id$" +/* ----------------------------------------------------------------------- * + * + * lookup_program.c - module for Linux automount to access an + * automount map via a query program + * + * Copyright 1997 Transmeta Corporation - All Rights Reserved + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139, + * USA; either version 2 of the License, or (at your option) any later + * version; incorporated herein by reference. * - * Module for Linux automountd to access a automount map via a query program + * ----------------------------------------------------------------------- */ + +/* + */ #include <ctype.h> diff --git a/modules/lookup_yp.c b/modules/lookup_yp.c index 93d7c1b..953c4bb 100644 --- a/modules/lookup_yp.c +++ b/modules/lookup_yp.c @@ -1,7 +1,20 @@ -/* - * lookup_yp.c +#ident "$Id$" +/* ----------------------------------------------------------------------- * + * + * lookup_yp.c - module for Linux automountd to access a YP (NIS) + * automount map + * + * Copyright 1997 Transmeta Corporation - All Rights Reserved + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139, + * USA; either version 2 of the License, or (at your option) any later + * version; incorporated herein by reference. * - * Module for Linux automountd to access a YP (NIS) automount map + * ----------------------------------------------------------------------- */ + +/* */ #include <stdio.h> diff --git a/modules/mount_generic.c b/modules/mount_generic.c index 9e23c97..0c46805 100644 --- a/modules/mount_generic.c +++ b/modules/mount_generic.c @@ -1,10 +1,18 @@ -/* - * mount_generic.c +#ident "$Id$" +/* ----------------------------------------------------------------------- * + * + * mount_generic.c - module for Linux automountd to mount filesystems + * for which no special magic is required * - * Module for Linux automountd to mount filesystems for which no special - * magic is required + * Copyright 1997 Transmeta Corporation - All Rights Reserved * - */ + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139, + * USA; either version 2 of the License, or (at your option) any later + * version; incorporated herein by reference. + * + * ----------------------------------------------------------------------- */ #include <stdio.h> #include <malloc.h> diff --git a/modules/mount_nfs.c b/modules/mount_nfs.c index 747326f..c64af9e 100644 --- a/modules/mount_nfs.c +++ b/modules/mount_nfs.c @@ -1,10 +1,18 @@ -/* - * mount_nfs.c +#ident "$Id$" +/* ----------------------------------------------------------------------- * + * + * mount_nfs.c - Module for Linux automountd to mount an NFS filesystem, + * with fallback to symlinking if the path is local * - * Module for Linux automountd to mount an NFS filesystem, with fallback to - * symlinking if the path is local + * Copyright 1997 Transmeta Corporation - All Rights Reserved * - */ + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139, + * USA; either version 2 of the License, or (at your option) any later + * version; incorporated herein by reference. + * + * ----------------------------------------------------------------------- */ #include <stdio.h> #include <malloc.h> diff --git a/modules/mount_smbfs.c b/modules/mount_smbfs.c index 200d1f2..7aec92d 100644 --- a/modules/mount_smbfs.c +++ b/modules/mount_smbfs.c @@ -1,3 +1,4 @@ +#ident "$Id$" /* ----------------------------------------------------------------------- * * * mount_smbfs.c diff --git a/modules/parse_sun.c b/modules/parse_sun.c index 3c87f05..10851e4 100644 --- a/modules/parse_sun.c +++ b/modules/parse_sun.c @@ -1,8 +1,18 @@ -/* - * parse_sun.c +#ident "$Id$" +/* ----------------------------------------------------------------------- * + * + * parse_sun.c - module for Linux automountd to parse a Sun-format + * automounter map + * + * Copyright 1997 Transmeta Corporation - All Rights Reserved * - * Module for Linux automountd to parse a Sun-format automounter map - */ + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139, + * USA; either version 2 of the License, or (at your option) any later + * version; incorporated herein by reference. + * + * ----------------------------------------------------------------------- */ #include <stdio.h> #include <malloc.h> diff --git a/samples/auto.master b/samples/auto.master index d5bedc3..904fed4 100644 --- a/samples/auto.master +++ b/samples/auto.master @@ -1,3 +1,4 @@ +# $Id$ # Sample auto.master file # Format of this file: # mountpoint map options diff --git a/samples/auto.misc b/samples/auto.misc index 587879a..efd826e 100644 --- a/samples/auto.misc +++ b/samples/auto.misc @@ -1,3 +1,4 @@ +# $Id$ # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # Details may be found in the autofs(5) manpage diff --git a/samples/rc.autofs b/samples/rc.autofs index e928792..9647b38 100644 --- a/samples/rc.autofs +++ b/samples/rc.autofs @@ -1,5 +1,7 @@ #! /bin/bash # +# $Id$ +# # rc file for automount using a Sun-style "master map". # We first look for a local /etc/auto.master, then a YP # map with that name |