112 Commits

Author SHA1 Message Date
Nathan Neulinger
580af44321 makefiles-cflag-cleanup-20030111
move cflags back to makefile.config, more cleanup, dup removal
2003-01-11 07:33:52 +00:00
Jim Rees
04f88387f9 openbsd-20021203
OpenBSD:
Don't include systm.h
#define iodone for 3.2
add rc file
2002-12-03 23:34:31 +00:00
Derrick Brashear
8b141efe96 cachemgr-warn-solaris-users-of-dangers-of-logging-20021122
with feedback from others.
2002-11-22 20:07:27 +00:00
Jim Rees
58c34e103c openbsd-20021030
More small OpenBSD fixes.
Now the module loads, afsd starts, and /afs gets mounted.
2002-10-30 22:56:58 +00:00
Nickolai Zeldovich
f0c7fe9ee1 Change the meaning of the -fakestat switch to only enable fakestat
for cross-cell mountpoints.  The -fakestat-all switch can now be
used to enable fakestat for all mountpoints (old behavior).
2002-10-07 00:00:14 +00:00
Nickolai Zeldovich
629d080654 This is mostly a rewrite of src/afs/afs_cell.c, and associated changes
to other things.  Features of the new cell code:

 * Persistent name-to-cell-number mapping across reboots, to ensure the
   cell numbers in the dcache are meaningful.  Stored in the new cache
   file, /usr/vice/cache/CellInfo.
 * Allow cmdebug to query the cell number to cell name mapping.
 * Allow clients to have an empty CellServDB as long as AFSDB is enabled
   and ThisCell has AFSDB records.
 * The home cell retains the setuid bit even if looked up via AFSDB.
 * Dynroot gets its own cell, rather than piggybacking on cell 1.
 * Cell 1 is no longer special; cell numbers are now semi-opaque.
 * Convert cell traversal code to using GetCellByIndex rather than
   directly poking at CellLRU / afs_xcell.
 * Separate cells from aliases, which shouldn't have been the same
   in the first place.
 * Cleaner code (IMHO).

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

make the arguments afs_CellNumValid takes match the prototype (since it
really is a afs_int32 it looks like)

====================

update irix to deal

====================

update irix to deal

====================


Fix some more references to the now-nonexistant cell->index
2002-08-23 04:31:38 +00:00
Chaskiel M Grundman
89f411e22c darwin-updates-20020821
should be correct support for 10.2. also updates for 10.1
2002-08-21 23:07:52 +00:00
Jeffrey Hutzelman
808369b969 sunos4-port-20020821
This patch adds support for building OpenAFS user-mode code on SunOS 4.
It does not include libafs, ulibafs, or any code that needs to understand
the filesystem layout (so, no vfsck, and while the salvager will be built,
it won't work).
2002-08-21 20:19:28 +00:00
Nathan Neulinger
8f2df21ffe pull-prototypes-to-head-20020821
pull up prototypes to head
2002-08-21 19:52:17 +00:00
Derek Atkins
aea332588b linux-start-if-dynroot-even-if-no-network-20020731
if we start with dynroot, dont worry if we have net or not
2002-07-31 23:41:02 +00:00
Chaskiel M Grundman
90deacca54 freebsd-isnt-darwin-20020713
update rc script for freebsd
2002-07-13 04:30:54 +00:00
Derrick Brashear
d13f701812 afsd-dont-print-garbage-on-bad-cacheinfo-file-20020615
based on report from matt@slackers.net

don't bother printing anything we parsed, since we're guaranteed at least
one item is trash anyhow
2002-06-15 17:52:00 +00:00
Derrick Brashear
155c131923 afs-dont-allow-shutdown-before-umount-20020523
fix afs to enforce that /afs must be unmounted, and afsd to report it
2002-05-23 06:21:13 +00:00
Nickolai Zeldovich
6b33ed2b05 Initial fakestat support (fake mountpoint directory attributes).
Useful for quickly stat'ing everything under /afs, for instance.
Reasonably tested on Solaris, and appears to work on Linux too.
Enable with 'afsd -fakestat'.
2002-04-02 06:09:48 +00:00
Mattias Amnefelt
f0aea5e186 makefiles-dont-hardcode-optimization-flags-20020307
allow setting optimization in CFLAGS in makefiles

use -g3 on tru64
2002-03-08 05:59:32 +00:00
David Howells
367008ec65 linux-conf-fix-type-which-crept-in-20020124
"oops"
2002-01-24 18:09:28 +00:00
Yves Schutz
392ae5ce36 quote-modloaddir-when-looking-for-kernel-module-20011120
quote variable evaluation
2001-11-21 15:54:35 +00:00
Thomas Mueller
16b809cef2 linux-rc-make-ifconfig-speak-english-for-parsing-20011120
sadly the script is fluent only in english and can't even pretend it knows
anything else
2001-11-21 15:41:26 +00:00
David Thompson
9d8b844b3e linux-afsd-allow-ext3-journals-without-error-20011110
an ext3 journal in the vice cache (root of the partition) is allowable

we have no useful way to discern ext2 from ext3 without groveling in fstab
so just allow it
2001-11-10 18:21:59 +00:00
Nickolai Zeldovich
b28927c752 dynroot-allow-cell-aliases-20011101
allow cell aliases. includes support for non-'V' pioctls
2001-11-01 05:24:30 +00:00
Nickolai Zeldovich
dd9a7b025a afsdb-default-in-rc-files-20011031
enable afsdb using rc files
2001-11-01 05:10:38 +00:00
Nathan Neulinger
838e1eae1a build-system-specific-makefile-configuration-from-configure-20011031
junk all of Makefile.${SYS_NAME} in favor of a common makefile built by
configure, and use it
2001-11-01 04:59:26 +00:00
Derek Atkins
77523f9506 afsd-make-debug-switch-print-afsops-20011024
just print one more argument for afs system calls
2001-10-24 16:25:22 +00:00
Eric Lauriault
367c2856e8 sunx86-support-20011017
base sunx86 support for newer than solaris 2.4
2001-10-18 00:36:02 +00:00
Nathan Neulinger
b9948dd965 initial-objdir-support-20011017
first cut at objdir support
2001-10-18 00:06:58 +00:00
Derek Atkins
acdadc1bde linux-rc-file-cleanup-20011008
Modularize the Linux RC file(s) a bit.  In particular, add more
options for larger caches, allow autogeneration of the cacheinfo file,
make sure AFS only starts if the network is running, add SuSE header
information, and cope with the Red Hat initscripts better (on Red Hat
only, but should work on all systems).

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

fix silly typo
2001-10-10 04:16:54 +00:00
Nickolai Zeldovich
077c0a4d76 unix-dynroot-support-20011009
The result is that if afsd is started with "-dynroot", /afs
  will be a locally-generated directory, with mountpoints for every
  cell in CellServDB (and /afs/.cellname as the rw mountpoint).  If
  AFSDB support is also enabled, attempting to access /afs/foo will
  cause the cache manager to do an AFSDB lookup on foo, similar to
  an automounter.  Cell aliases become symlinks to the real cell
  names under /afs.
2001-10-10 01:10:29 +00:00
Nickolai Zeldovich
56fa8cca37 support-cell-aliases-20011009
This patch adds support for "cell aliases": a cell alias allows a
  single cell to be known by multiple names (one of them the primary).
  This is useful in conjunction with AFSDB support, where you want all
  the possible names for the same cell to share the same tokens, etc.

  For instance, if the local resolver has "mit.edu" in its search
  domain, an AFSDB lookup on cell "athena" will cause the primary
  cell "athena.mit.edu" to be created, and "athena" made an alias
  for it.
2001-10-10 01:05:27 +00:00
Nickolai Zeldovich
f4b688d9ed solaris-9-support-20011008
support solaris 9
2001-10-08 23:19:07 +00:00
Nathan Neulinger
2c0184532b afsd-warning-cleanup-20011005
clean up warnings in afsd directory
2001-10-05 22:03:16 +00:00
Nickolai Zeldovich
34a3a269ec linux-compute-mtu-correctly-20011005
This patch fixes two bugs:

  (1) pass more than 4 parameters to AFSCALL syscalls on Linux,
      allowing the ADVISEADDR op to pass the MTU array pointer.

  (2) properly convert MTU's to network byte order, since that's
      what the rest of the code expects them to be.
2001-10-05 21:38:57 +00:00
Nickolai Zeldovich
d2e9d29b77 afsd-afsdb-shutdown-cleanly-20011005
make userspace afsdb handler shut down cleanly
2001-10-05 21:36:59 +00:00
Jim Rees
b80f8ab2cb Initial OpenBSD support. Most of user space builds. No kernel module yet. 2001-09-14 00:19:17 +00:00
Chaskiel M Grundman
0c412784f1 darwin-update-plist-building-20010912
update how plist files are constructed so subsconfigure for libafs can work
2001-09-12 06:00:46 +00:00
Derrick Brashear
20b20753c8 darwin-plist-renaming-20010911
allow configure processing of files
2001-09-11 21:30:21 +00:00
Nathan Neulinger
2a12550e7c add-cvsignores-to-project-20010910
start at cvsignores
2001-09-10 21:14:01 +00:00
Chaskiel M Grundman
7303f3148e darwin-build-updates-20010910
separate plist on per-version basis

1.4 is not yet supported
2001-09-10 21:07:32 +00:00
Jeffrey Hutzelman
80e2c2f8ce make-install-support-for-transarc-and-prefix-style-universes-20010907
according to jeff:
- Renames the top-level 'install' target to 'build'.  This should be
    transparent, since no one should be using that.

  - Improves on Sam's dirpath patches, by splitting out server binaries
    into separate bin, sbin, and libexec directories in GCS mode (these
    are all /usr/afs/bin in Transarc mode).

  - Updates the top-level 'all' target so that it builds the software
    but does not generate a dest tree.  Top-level 'lib' and 'include'
    directories are generated to hold the intermediate libraries and headers
    used during the build.

  - Adds a new top-level 'install' target, which installs things in the
    appropriate directories under ${DESTDIR}, based on configure's install
    directories plus the extras added by Sam's patch.

  - Adds a new top-level 'dest' target, which creates an old-style dest
    directory under ${DEST}.  The ${DEST} variable defaults to the
    traditional value of ${SRCDIR_PARENT}/${SYS_NAME}/dest.  Note that
    this variable used to be called ${DESTDIR}; it was renamed to avoid
    conflicts with the de facto standard usage of ${DESTDIR}.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

fix missed makefile

====================

update another missed file

====================

eliminate bogus escaping

====================

get rid of another bogus escape

====================

remove unused include directory

====================

get rid of no longer used libdir

====================

remove unused incdir

====================

fix up some problems for make compatibility and missing trailing /

====================

put afs.exp in the right place

====================

remove bogus afssrvdir reference

====================

update dest version of output

====================

update ref to libexecdir

====================

kill refs to afssrvdir

====================


convert missed LIBDIR to TOP_LIBDIR

====================

remove explicit INSTALL and use makefile.@sys value instead

====================

except it's helpful to actually include makefile.@sys

====================

convert LIBDIR to TOP_LIBDIR
2001-09-10 20:15:57 +00:00
Chaskiel M Grundman
3ed7207c17 darwin-make-afsd-script-exit-for-failure-20010907
script failed to exit for one of the failure cases before
2001-09-07 19:59:03 +00:00
Nathan Neulinger
635df30c0f more-makefiles-cleanup-20010829
get rid of cases where we'd end up with two / because of DESTDIR pasting

macroize calls to rm

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

get rid of another case of bogus trailing quoting
2001-08-30 00:22:17 +00:00
Nathan Neulinger
08ab25471c afsd-makefile-cleanup-20010829
cleanup for afsd makefile
2001-08-29 18:37:32 +00:00
Nathan Neulinger
b0c5f0cac6 makefile-updates-20010828
clean up all the makefiles to remove bogus targets, eliminate trailing /
requirement from DESTDIR, avoid needing to pass things like DESTDIR around
between makefiles

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

remove bogus quoting
2001-08-29 02:19:55 +00:00
Derek Atkins
d11b1bf924 use-multiple-cache-directories-for-large-caches-20010802
- support for large caches in afsd.  Cachefiles are stored in
  subdirectories.  The default is 2048 files per subdirectory, which
  should work fine in most situations.  You can use the new afsd
  option -files_per_subdir to change this number.  Note that the first
  time you run afsd with this patch, your cachefiles will get moved
  into subdirectories.  If you subsequently run an older version of
  afsd, you will lose all your cached files.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

news entry for large cache patch
2001-08-02 17:17:41 +00:00
Nathan Neulinger
0207991adc convert-all-makefiles-to-makefile-ins-20010802
all relevant variables become subst'd and not passed in the environment
2001-08-02 16:45:35 +00:00
Nathan Neulinger
1fd4f11faf include-afsconfig-before-param-h-20010712
so stuff can be defined in afsconfig.h and included first
2001-07-12 20:58:15 +00:00
Chaskiel M Grundman
efe58972cc darwin-generate-module-version-from-version-string-20010712
generate darwin version string from the autoconf version for the module
2001-07-12 20:00:33 +00:00
Derrick Brashear
cb4d93d30b itc-h-is-dead-use-potpourri-h-20010712
in reality potpourri should also die but one thing at a time
2001-07-12 16:54:10 +00:00
Nathan Neulinger
e7ec0d4213 afsconfig-and-rcsid-all-around-20010705
convert rest of source to afsconfig; include rcsid macros

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

remove bogus if/define/endif triple

====================

revert non-rcsid and afsconfig portion of patch
2001-07-05 16:20:00 +00:00
Nathan Neulinger
466eb22ad4 initial-afsconfig-h-file-20010514
start of config file work for autoconf

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

make Makefile use top-level location rather than config as Nathan intended
2001-05-14 23:23:12 +00:00
Nickolai Zeldovich
f816a53b26 afsdb-callout-and-userspace-implementation-20010430
"This patch implements AFSDB support for both user-space programs
and for the kernel.. I've tested these on sun4x_57 (64-bit) and
on i386_linux22."

not currently enabled in any configuration
2001-04-30 23:08:39 +00:00