anchor.diff:    startSamba =
       ''
         export WHO=`whoami`
  +      mkdir -p $TMPDIR/xchg
   
         cat > $TMPDIR/smb.conf <<SMB
         [global]
  
positive.code:       mount -t ext2 /dev/${hd} /fs
      fi
  
      mkdir -p /fs/hostfs
      
      mkdir -p /fs/dev
      mount -o bind /dev /fs/dev
  
      echo "mounting host filesystem..."
      mount -t cifs //10.0.2.4/qemu /fs/hostfs -o guest,sec=none
  
      mkdir -p /fs/nix/store
      mount -o bind /fs/hostfs/nix/store /fs/nix/store
      
      mkdir -p /fs/tmp
      mount -t tmpfs -o "mode=755" none /fs/tmp
  
      mkdir -p /fs/proc
      mount -t proc none /fs/proc
  
  
negative.code:         log file = $TMPDIR/log.smbd
          smb passwd file = $TMPDIR/smbpasswd
          security = share
        [store]
          force user = $WHO
          path = /nix/store
          read only = no
          guest ok = yes
        [xchg]
          force user = $WHO
          path = $TMPDIR/xchg
          read only = no
          guest ok = yes
        SMB
  