anchor.diff:      cp ${cellServDB} $out/CellServDB
       echo "/afs:${cfg.cacheDirectory}:${cfg.cacheSize}" > $out/cacheinfo
     '';
  +
  +  openafsPkgs = config.boot.kernelPackages.openafsClient;
   in
   {
     ###### interface
  
positive.code: 
    config = mkIf cfg.enable {
  
      environment.systemPackages = [pkgs.openafsClient];
  
      environment.etc = [
        { source = afsConfig;
  
negative.code: 	preStart = ''
  	  mkdir -m 0755 /afs || true
  	  mkdir -m 0755 -p ${cfg.cacheDirectory} || true
            ${pkgs.module_init_tools}/sbin/insmod ${openafsPkgs}/lib/openafs/libafs-*.ko || true
            ${openafsPkgs}/sbin/afsd -confdir ${afsConfig} -cachedir ${cfg.cacheDirectory} -dynroot -fakestat
  	'';
  
  	postStop = ''
  	  umount /afs
            ${openafsPkgs}/sbin/afsd -shutdown
  	  rmmod libafs
  	'';
  
  