85 Commits

Author SHA1 Message Date
Chas Williams
2519680a2c sol10-afsd-rc-20050113
FIXES 17036

install an rc file for solaris 10
2005-01-14 01:11:48 +00:00
Derrick Brashear
1307b89188 memcache-no-volitems-20050113
Don't try to open VolumeItems when using memcache
2005-01-13 23:37:21 +00:00
Mike Becher
1c8ad1139c linux-rc-update-20041217
update rc scripts for 2.6
2004-12-17 15:13:19 +00:00
Derrick Brashear
54643e2678 afsd-chunksize-error-20041207
FIXES 16723

based on work from mmokrejs@ribosome.natur.cuni.cz
2004-12-07 18:24:44 +00:00
Phil Holland
08a623793f darwin-rc-script-update-20040728
FIXES 6027

update rc script to support stopping afs
2004-07-29 04:36:53 +00:00
Derrick Brashear
563894500f rx-provide-binding-version-of-init-20040728
i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

====================
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.
====================

i should be dragged away and beaten for this

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets

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

i should be dragged away and beaten for this

first pass at interface to allow bound Rx sockets
2004-07-29 03:46:48 +00:00
Rainer Schöpf
85a973a7b9 afsd-bitch-about-xfs-not-about-dir-for-memcache-20040708
FIXES 5728

make afsd complain if cache partition is linux
don't complain if no cachedir and we're -memcache.
2004-07-08 05:52:38 +00:00
Jonathan Curley
329f256d42 linux-26-provide-proc-interface-instead-of-syscall-20040507
FIXES 4462

provide /proc file interface to use instead of AFS system call.
doesn't solve the PAG problem.
2004-05-10 05:39:21 +00:00
Chas Williams
f3cd6ca063 linux-26-progress-20040412
FIXES 4027

if you complain about any of it, you better include a patch, or risk being
severely flamed. very much a work in progress
2004-04-12 20:42:19 +00:00
Douglas Engert
90f461c912 hpux-1123-update-20031204
update the hpux 11.23 on ia64 support
don't build libuafs. make kernel modules build. fix afsd.
2003-12-04 16:10:43 +00:00
Ed Moy
e2e93aa892 macos103-20031024
FIXES 2325

support for macos 10.3 for 1.2.10
2003-10-24 07:25:58 +00:00
Derrick Brashear
8f00fdfd5f reindent-again-20030808
FIXES 1774

catch things which crept in. if emacs hadn't started ignoring my code
formatting settings this would suck so much less....
2003-08-08 22:54:30 +00:00
Kris Van Hees
d6eefb7be5 afs-prefer-backup-volumes-on-mountpoints-option-20030808
afsd option (-backuptree) and proc interface code for linux to enable preferring
backup volumes when crossing mountpoints once in a tree of backup volumes.
2003-08-08 20:55:03 +00:00
Derrick Brashear
872bc94f8c reindent-20030715
FIXES 1774

thanks to nneul@umr.edu for providing a script to do this.
gnu indent 2.2.9 options:
-npro -nbad -bap -nbc -bbo -br -ce -cdw -brs -ncdb -cp1 -ncs -di2 -ndj -nfc1
-nfca -i4 -lp -npcs -nprs -psl -sc -nsob -ts8

====================
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.
====================
FIXES 1774

fix subst mistake
2003-07-16 00:28:24 +00:00
Hartmut Reuter
f43c2f4412 aix-51-support-20030701
FIXES 1661

make afs work for aix5.1 64 bit.
some code cleanup
2003-07-01 23:02:58 +00:00
Peter Breitenlohner
88e2d8e292 gcc-warnings-cleanup-20030701
FIXES 1650

add headers, cleanup castings
2003-07-01 20:23:51 +00:00
Nathan Neulinger
244fde00a9 afsd-check-for-bad-partition-type-20030602
FIXES 1455

disallow cache directory of types we know cause problems

====================
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.
====================
FIXES 1542

typo
2003-06-03 05:31:08 +00:00
Alexei Kosut
26ee3fcc39 darwin-mount-and-disk-arbitration-enhancements-20030515
FIXES 1363

* Allow AFS to be mounted multiple times, each mountpoint with its
  own root volume.  This allows usage similar to the Windows client,
  e.g., mounting a drive that contains only the user's home
  directory.  Our users find this much easier to work with than
  having to navigate the entire AFS tree in the Finder or open/save
  dialog.

* Have afsd register /afs with the DiskArbitration system
  when mounting it.  This means that the root afs volume shows up in
  the Finder immediately, and prevents the Finder from getting
  confused by additional AFS volumes later on.

* Add a "-nomount" option to afsd, which prevents afsd from
  mounting /afs.  We use this by default on our Mac OS X client, so
  that AFS doesn't show up in the interface at all unless the user
  explicitly asks for an AFS volume to be mounted.  This is
  especially handy for portable or remote users who don't always
  have a network connection, since there isn't an AFS filesystem
  around to hang the Finder if the AFS servers can't be contacted
  (the cache manager may still hang, but since there are no AFS
  volumes mounted, the rest of the OS doesn't notice).

* Make it so that /afs (mounted by afsd) will not unmount unless
  MNT_FORCE is given.  This prevents the user from accidentally
  ejecting /afs in the Finder, and also works around a DiskArb bug in
  Mac OS X (possibly fixed in 10.2) where autodiskmount would sometimes
  unmount /afs when logging out, even though it's marked as
  non-ejectable.
2003-05-15 16:00:27 +00:00
Alexei Kosut
d4828d3226 darwin-use-perl-instead-of-grep-20030513
FIXES 1361

perl is installed by default. grep isn't. use perl.
2003-05-14 16:06:41 +00:00
Derrick Brashear
3fa5f389b2 move-up-cell-initialization-in-cachemgr-20030323
may be related to an oops at startup
2003-03-23 19:43:47 +00:00
Douglas Engert
6183df9e42 hpux-1122-initial-support-20030213
sys name may yet change and there's some relatively minor cleanup yet to be
done
2003-02-14 00:02:16 +00:00
Jim Rees
fa0eff2261 openbsd-rc-20030131
Get rid of dkload subdir
Get rid of "-chunksize 18 -stat 4800"
Change "fs setcrypt crypt" to "fs setcrypt on" (old CMU syntax)
2003-01-31 21:35:14 +00:00
Nickolai Zeldovich
4fa78ca168 openbsd-32-glue-20030130
Add glue to support OpenBSD 3.2.
2003-01-30 22:03:31 +00:00
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