Giter Site home page Giter Site logo

openafs / openafs Goto Github PK

View Code? Open in Web Editor NEW
75.0 8.0 62.0 115.52 MB

Fork of OpenAFS from git.openafs.org for visualization

Home Page: http://www.openafs.org/

License: Other

Makefile 1.36% Shell 0.84% Perl 1.28% Java 1.66% C 72.73% C++ 19.48% Objective-C 0.83% NSIS 0.53% CSS 0.01% HTML 0.05% Assembly 0.13% TeX 0.01% Rouge 0.09% CartoCSS 0.19% Tcl 0.05% D 0.01% Batchfile 0.04% Yacc 0.04% Lex 0.02% M4 0.66%

openafs's Introduction

AFS is a distributed file system that enables users to share and
access all of the files stored in a network of computers as easily as
they access the files stored on their local machines. The file system is
called distributed for this exact reason: files can reside on many
different machines, but are available to users on every machine.

OpenAFS 1.0 was originally released by IBM under the terms of the
IBM Public License 1.0 (IPL10).  For details on IPL10 see the LICENSE
file in this directory.  The current OpenAFS distribution is licensed
under a combination of the IPL10 and many other licenses as granted by
the relevant copyright holders.  The LICENSE file in this directory
contains more details, thought it is not a comprehensive statement.

See INSTALL for information about building and installing OpenAFS
on various platforms.

See CODING for developer information and guidelines.

See NEWS for recent changes to OpenAFS.

openafs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openafs's Issues

Error Compiling for Linux 5.4

Compiling the DKMS module, i'm seeing

/var/lib/dkms/openafs/1.8.5/build/src/afs/afs.h:769:40: error: ‘struct inode’ has no member named ‘u’

which in the actual header file is the VTOAFS/AVSTOV macro definition section:

 758 #if defined(AFS_DARWIN80_ENV)
 759 #define VTOAFS(v) ((struct vcache *)vnode_fsnode((v)))
 760 #define AFSTOV(vc) ((vc)->v)
 761 #elif defined(AFS_NBSD40_ENV)
 762 struct nbvdata {
 763     struct genfs_node gfsn;
 764     struct vcache *afsvc;
 765 };
 766 #define VTOAFS(v) ((((struct nbvdata *)((v)->v_data)))->afsvc)
 767 #define AFSTOV(vc) ((vc)->v)
 768 #elif defined(AFS_XBSD_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_SUN511_ENV) || (defined(AFS_LINUX22_ENV) && !defined(STRUCT_SUPER_OPERATIONS_HAS_ALLOC_INODE))
 769 #define VTOAFS(v) ((struct vcache *)(v)->v_data)
 770 #define AFSTOV(vc) ((vc)->v)
 771 #else
 772 #define VTOAFS(V) ((struct vcache *)(V))
 773 #define AFSTOV(V) (&(V)->v)
 774 #endif

the dkms.conf file is:

PACKAGE_NAME="openafs"
PACKAGE_VERSION="__VERSION__"

BUILT_MODULE_NAME[0]="openafs"
BUILT_MODULE_LOCATION[0]="src/libafs/MODLOAD-$kernelver-SP"
DEST_MODULE_LOCATION[0]="/kernel/fs"
AUTOINSTALL="yes"

MAKE[0]="(./configure --prefix=/usr \
              --sysconfdir=/etc \
              --sbindir=/usr/bin \
              --libexecdir=/usr/lib \
              --disable-fuse-client \
              --with-linux-kernel-packaging \
              --with-linux-kernel-headers=${kernel_source_dir} \
              --with-afs-sysname=amd64_linux26
          && 'make' -j`nproc`)"
CLEAN="[ ! -f Makefile ] || 'make' clean"

which explicitly defines the sysname. The relevant flags in the amd64_linux26 config file enable all of the AFS_LINUX*_ENV variables, so it matches for the middle section of the macro definition clause on 769.
This is all on Arch, up to date as of now, gcc 9.2.0, 5.4.14 grsec and hardened (of grapheneos) kernels both produce this result, neither messes with core VFS structs (or ZFS wouldn't build either).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.