am-utils-6.2.git
14 years ago- Add lustre support
Christos Zoulas [Thu, 15 Dec 2011 21:19:23 +0000 (16:19 -0500)]
- Add lustre support
- Add more mount flags

14 years agoWe want to include <linux/fs.h> because this is the only place some of
Christos Zoulas [Thu, 15 Dec 2011 21:17:49 +0000 (16:17 -0500)]
We want to include <linux/fs.h> because this is the only place some of
the mount flags are declared. Hopefully old systems where this caused
trouble are dead by now.

14 years agomention nfsl fix
Christos Zoulas [Mon, 28 Nov 2011 15:18:27 +0000 (10:18 -0500)]
mention nfsl fix

14 years agoMatch against either the short local hostname or the fqdn name.
Christos Zoulas [Mon, 28 Nov 2011 15:17:18 +0000 (10:17 -0500)]
Match against either the short local hostname or the fqdn name.

14 years agonew file
Christos Zoulas [Thu, 6 Oct 2011 15:30:48 +0000 (11:30 -0400)]
new file

14 years agoOnly compile the NFSv4 -> NFSv3 fallback code if we have NFSv4.
Christos Zoulas [Thu, 6 Oct 2011 15:29:46 +0000 (11:29 -0400)]
Only compile the NFSv4 -> NFSv3 fallback code if we have NFSv4.

14 years agomention recent work.
Christos Zoulas [Thu, 6 Oct 2011 15:05:11 +0000 (11:05 -0400)]
mention recent work.

14 years agoAdd FALLTHROUGH comment
Christos Zoulas [Thu, 6 Oct 2011 14:58:35 +0000 (10:58 -0400)]
Add FALLTHROUGH comment

14 years agoAdd nfsv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:58:00 +0000 (10:58 -0400)]
Add nfsv4 support

14 years agoNFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:57:32 +0000 (10:57 -0400)]
NFSv4 support

14 years agoadding _GNU_SOURCE in one place is good enough (configure does it)
Christos Zoulas [Thu, 6 Oct 2011 14:56:01 +0000 (10:56 -0400)]
adding _GNU_SOURCE in one place is good enough (configure does it)

14 years agofix typo
Christos Zoulas [Thu, 6 Oct 2011 14:55:36 +0000 (10:55 -0400)]
fix typo

14 years ago- add and use xstrdup()
Christos Zoulas [Thu, 6 Oct 2011 14:54:10 +0000 (10:54 -0400)]
- add and use xstrdup()
- cleanup error handling in release controlling tty.

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:52:40 +0000 (10:52 -0400)]
strdup -> xstrdup
don't dereference NULL if string does not have /

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:51:50 +0000 (10:51 -0400)]
strdup -> xstrdup

14 years agoadd NFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:51:32 +0000 (10:51 -0400)]
add NFSv4 support

14 years agocleanup strdup
Christos Zoulas [Thu, 6 Oct 2011 14:50:31 +0000 (10:50 -0400)]
cleanup strdup

14 years agoNFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:49:33 +0000 (10:49 -0400)]
NFSv4 support
cleanup strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:48:32 +0000 (10:48 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:47:57 +0000 (10:47 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:47:39 +0000 (10:47 -0400)]
strdup -> xstrdup
FALLTHROUGH comments

14 years agoNFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:46:11 +0000 (10:46 -0400)]
NFSv4 support

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:45:06 +0000 (10:45 -0400)]
strdup -> xstrdup
don't check for NULL before XFREE

14 years agofix retry logic to include NFSv4
Christos Zoulas [Thu, 6 Oct 2011 14:44:27 +0000 (10:44 -0400)]
fix retry logic to include NFSv4

14 years agoadd NFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:44:02 +0000 (10:44 -0400)]
add NFSv4 support

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:42:51 +0000 (10:42 -0400)]
strdup -> xstrdup
fix error handling
improve error messages
don't check for NULL before XFREE

14 years agoadd NFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:41:44 +0000 (10:41 -0400)]
add NFSv4 support
strdup -> xstrdup

14 years agoAdd fallthrough comment
Christos Zoulas [Thu, 6 Oct 2011 14:40:56 +0000 (10:40 -0400)]
Add fallthrough comment

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:40:42 +0000 (10:40 -0400)]
strdup -> xstrdup

14 years agodon't set variable we don't use
Christos Zoulas [Thu, 6 Oct 2011 14:40:14 +0000 (10:40 -0400)]
don't set variable we don't use
don't check for NULL before XFREE
strdup -> xstrdup

14 years agoadd support for NFSv4
Christos Zoulas [Thu, 6 Oct 2011 14:38:27 +0000 (10:38 -0400)]
add support for NFSv4
don't check for NULL before XFREE
strdup -> xstrdup
return early if going_down returns
check for mf_fo since the caller does too
ALLOC + memset == CALLOC

14 years agodon't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:38:15 +0000 (10:38 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup

14 years agodon't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:38:01 +0000 (10:38 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup

14 years agodon't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:37:27 +0000 (10:37 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup
Don't complain about empty selector; we can use it to unset.

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:37:16 +0000 (10:37 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:37:02 +0000 (10:37 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:36:33 +0000 (10:36 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:36:24 +0000 (10:36 -0400)]
strdup -> xstrdup

14 years agoAdd support for NFSv4 with fallback to NFSv3 if the path is not found.
Christos Zoulas [Thu, 6 Oct 2011 14:35:45 +0000 (10:35 -0400)]
Add support for NFSv4 with fallback to NFSv3 if the path is not found.
Fallback can be disabled if NO_FALLBACK is defined.

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:34:50 +0000 (10:34 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:34:39 +0000 (10:34 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:34:30 +0000 (10:34 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:34:17 +0000 (10:34 -0400)]
strdup -> xstrdup

14 years agodon't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:33:58 +0000 (10:33 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup

14 years agodon't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:33:31 +0000 (10:33 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:32:56 +0000 (10:32 -0400)]
strdup -> xstrdup
don't check for NULL before XFREE
don't set variable we don't use

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:32:24 +0000 (10:32 -0400)]
strdup -> xstrdup
tidy up snprintf wrong length

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:32:07 +0000 (10:32 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:31:43 +0000 (10:31 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:31:23 +0000 (10:31 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:31:04 +0000 (10:31 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:30:54 +0000 (10:30 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:30:42 +0000 (10:30 -0400)]
strdup -> xstrdup

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:30:18 +0000 (10:30 -0400)]
strdup -> xstrdup
NFSv4 support

14 years agocaller checks for am_al, we do too.
Christos Zoulas [Thu, 6 Oct 2011 14:29:23 +0000 (10:29 -0400)]
caller checks for am_al, we do too.
don't check for NULL before XFREE
strdup -> xstrdup

14 years agofix error paths to free memory properly
Christos Zoulas [Thu, 6 Oct 2011 14:28:42 +0000 (10:28 -0400)]
fix error paths to free memory properly
don't check for NULL before XFREE

14 years agodon't set variable we don't use.
Christos Zoulas [Thu, 6 Oct 2011 14:28:21 +0000 (10:28 -0400)]
don't set variable we don't use.

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:27:44 +0000 (10:27 -0400)]
strdup -> xstrdup

14 years agodon't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:27:16 +0000 (10:27 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup

14 years agocaller checks for mf_fo, we do too.
Christos Zoulas [Thu, 6 Oct 2011 14:26:41 +0000 (10:26 -0400)]
caller checks for mf_fo, we do too.

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:26:01 +0000 (10:26 -0400)]
strdup -> xstrdup

14 years agodon't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:25:38 +0000 (10:25 -0400)]
don't check for NULL before XFREE
add NFSv4 support

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:25:07 +0000 (10:25 -0400)]
strdup -> xstrdup
don't check NULL before XFREE

14 years agostrdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:24:47 +0000 (10:24 -0400)]
strdup -> xstrdup

14 years ago- caller checks am_parent, so we check it too.
Christos Zoulas [Thu, 6 Oct 2011 14:24:02 +0000 (10:24 -0400)]
- caller checks am_parent, so we check it too.
- strdup -> xstrdup

14 years agogoing_down can return; so return early if it does.
Christos Zoulas [Thu, 6 Oct 2011 14:23:31 +0000 (10:23 -0400)]
going_down can return; so return early if it does.

14 years ago- strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:22:49 +0000 (10:22 -0400)]
- strdup -> xstrdup
- don't check for NULL before xfree

14 years agoamq -i doc
Christos Zoulas [Thu, 15 Sep 2011 21:21:18 +0000 (17:21 -0400)]
amq -i doc

14 years ago- add amq -i that prints information about the current state of the maps
Christos Zoulas [Thu, 15 Sep 2011 21:19:22 +0000 (17:19 -0400)]
- add amq -i that prints information about the current state of the maps
- simplify reload logic by adding a function that just clears the hash
  instead of copying tables around
- add the number of entries of the map to the map structure

14 years agoLog when we call yp_all.
Christos Zoulas [Thu, 15 Sep 2011 21:18:45 +0000 (17:18 -0400)]
Log when we call yp_all.

14 years agoproper error message, and initialization
Christos Zoulas [Thu, 15 Sep 2011 16:35:15 +0000 (12:35 -0400)]
proper error message, and initialization

14 years agofix comment.
Christos Zoulas [Thu, 15 Sep 2011 16:31:27 +0000 (12:31 -0400)]
fix comment.

14 years agoMention today's changes
Christos Zoulas [Wed, 14 Sep 2011 17:53:59 +0000 (13:53 -0400)]
Mention today's changes

14 years agoFixes for solaris headers that need <sys/types.h> and <sys/socket.h> first
Christos Zoulas [Wed, 14 Sep 2011 17:50:03 +0000 (13:50 -0400)]
Fixes for solaris headers that need <sys/types.h> and <sys/socket.h> first

14 years agodon't cast NULL
Christos Zoulas [Wed, 14 Sep 2011 17:41:41 +0000 (13:41 -0400)]
don't cast NULL

14 years agoremove (void)&p;
Christos Zoulas [Wed, 14 Sep 2011 17:40:07 +0000 (13:40 -0400)]
remove (void)&p;

14 years agouse inline instead of __inline
Christos Zoulas [Wed, 14 Sep 2011 17:39:30 +0000 (13:39 -0400)]
use inline instead of __inline

14 years agotoday's changes
Christos Zoulas [Thu, 11 Aug 2011 18:55:08 +0000 (14:55 -0400)]
today's changes

14 years agosplit %options since older versions of flex don't understand the , syntax.
Christos Zoulas [Thu, 11 Aug 2011 18:53:17 +0000 (14:53 -0400)]
split %options since older versions of flex don't understand the , syntax.

14 years agoFix 2 potential buffer overflows, that cannot really happen since we
Christos Zoulas [Thu, 11 Aug 2011 18:51:41 +0000 (14:51 -0400)]
Fix 2 potential buffer overflows, that cannot really happen since we
control the input formats. From: Richard Kettlewell rjk at terraraq dot org
dot uk:
1. Order check in loop so that we don't set before we check
2. since we advance the pointer in strlcpy, we need to reduce the size.

14 years agomention linux-autofs-5 support
Christos Zoulas [Tue, 21 Jun 2011 14:37:21 +0000 (10:37 -0400)]
mention linux-autofs-5 support

14 years agoMake this compile and mention it is experimental for now.
Christos Zoulas [Tue, 21 Jun 2011 14:36:33 +0000 (10:36 -0400)]
Make this compile and mention it is experimental for now.

14 years agoImplement linux autofs version 5 protocol (not compile tested)
Christos Zoulas [Sat, 18 Jun 2011 21:03:36 +0000 (17:03 -0400)]
Implement linux autofs version 5 protocol (not compile tested)

14 years agoToday's changes
Christos Zoulas [Sat, 18 Jun 2011 18:51:05 +0000 (14:51 -0400)]
Today's changes

14 years agoRoll back to a previous working version of libtool. The new one broke
Christos Zoulas [Sat, 18 Jun 2011 18:49:30 +0000 (14:49 -0400)]
Roll back to a previous working version of libtool. The new one broke
more than one system.

14 years agonewer versions from autoreconf
Christos Zoulas [Sat, 18 Jun 2011 18:49:08 +0000 (14:49 -0400)]
newer versions from autoreconf

14 years ago- use $() instead of ``
Christos Zoulas [Sat, 18 Jun 2011 18:48:30 +0000 (14:48 -0400)]
- use $() instead of ``
- don't quote empty arguments, causes warnings from configure.

14 years agoChange the macro directory to m4/macros as it is supposed to be.
Christos Zoulas [Sat, 18 Jun 2011 18:47:35 +0000 (14:47 -0400)]
Change the macro directory to m4/macros as it is supposed to be.

14 years agoReplace with newer versions.
Christos Zoulas [Thu, 26 May 2011 21:05:04 +0000 (17:05 -0400)]
Replace with newer versions.

14 years agoMake libtool macros go to the m4 subdirectory as directed by the new style.
Christos Zoulas [Thu, 26 May 2011 21:04:08 +0000 (17:04 -0400)]
Make libtool macros go to the m4 subdirectory as directed by the new style.

14 years agoRemove ``# serial 57 LT_INIT''. Newer autoconf does not like it because it
Christos Zoulas [Thu, 26 May 2011 21:02:53 +0000 (17:02 -0400)]
Remove ``# serial 57 LT_INIT''. Newer autoconf does not like it because it
is not the first macro in the file.

14 years agoPut back the sys/socket.h header and remove __KERNEL__. It was probably
Christos Zoulas [Sun, 22 May 2011 02:36:52 +0000 (22:36 -0400)]
Put back the sys/socket.h header and remove __KERNEL__. It was probably
needed for some ancient version of linux that nobody uses anymore. If
someone complains, I promise to fix it.

14 years agoam-utils: update copyrights for 2011
Erez Zadok [Sun, 22 May 2011 00:14:54 +0000 (20:14 -0400)]
am-utils: update copyrights for 2011

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
14 years agoFix compile errors on Linux, CentOS 5.5 (can't find linux/nfs_mount.h)
Erez Zadok [Sun, 22 May 2011 00:07:17 +0000 (20:07 -0400)]
Fix compile errors on Linux, CentOS 5.5 (can't find linux/nfs_mount.h)

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
14 years agoDouble quote square brackets in M4 macros.
Erez Zadok [Sun, 22 May 2011 00:02:54 +0000 (20:02 -0400)]
Double quote square brackets in M4 macros.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
14 years agoUpdate autotools to aut autoconf 2.68, automake 1.10.3, and libtool 2.4.
Erez Zadok [Sun, 22 May 2011 00:25:41 +0000 (20:25 -0400)]
Update autotools to aut autoconf 2.68, automake 1.10.3, and libtool 2.4.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
14 years agoFixes for Fedora Core 15 and RHEL 6
Christos Zoulas [Fri, 20 May 2011 02:32:36 +0000 (22:32 -0400)]
Fixes for Fedora Core 15 and RHEL 6

15 years agoAmd map.c: don't ignore return value from write(2)
Erez Zadok [Wed, 24 Nov 2010 19:11:04 +0000 (14:11 -0500)]
Amd map.c: don't ignore return value from write(2)

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
15 years agoAssorted yacc/lex compile errors for fsinfo/amd
Erez Zadok [Wed, 24 Nov 2010 19:01:40 +0000 (14:01 -0500)]
Assorted yacc/lex compile errors for fsinfo/amd

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
15 years agoOn Linux, cast "res" arg in clnt_call to proper type.
Erez Zadok [Wed, 24 Nov 2010 17:39:01 +0000 (12:39 -0500)]
On Linux, cast "res" arg in clnt_call to proper type.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>