Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 385 for symlink2 (0.73 sec)

  1. src/crypto/x509/root_unix_test.go

    	if f, err := os.Create(temp("file")); err != nil {
    		t.Fatal(err)
    	} else {
    		f.Close()
    	}
    	if err := os.Symlink("target-in", temp("link-in")); err != nil {
    		t.Fatal(err)
    	}
    	if err := os.Symlink("../target-out", temp("link-out")); err != nil {
    		t.Fatal(err)
    	}
    	got, err := readUniqueDirectoryEntries(tmp)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. pkg/volume/util/volumepathhandler/volume_path_handler_unsupported.go

    	return "", fmt.Errorf("GetLoopDevice not supported for this build.")
    }
    
    // FindGlobalMapPathUUIDFromPod finds {pod uuid} bind mount under globalMapPath
    // corresponding to map path symlink, and then return global map path with pod uuid.
    func (v VolumePathHandler) FindGlobalMapPathUUIDFromPod(pluginDir, mapPath string, podUID types.UID) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_block.go

    Mapping and unmapping of a device in a publish path to its global map path and its
    pod device map path are done by operation_executor through MapBlockVolume/UnmapBlockVolume
    (MapBlockVolume and UnmapBlockVolume take care for lock, symlink, and bind mount).
    
    Summary of block volume related CSI driver's methods are as follows:
     - GetGlobalMapPath returns a global map path,
     - GetPodDeviceMapPath returns a pod device map path and filename,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/gccgo.go

    		f, _ = fsys.OverlayPath(f)
    		args = append(args, f)
    	}
    
    	output, err = sh.runOut(p.Dir, nil, args)
    	return ofile, output, err
    }
    
    // buildImportcfgSymlinks builds in root a tree of symlinks
    // implementing the directives from importcfg.
    // This serves as a temporary transition mechanism until
    // we can depend on gccgo reading an importcfg directly.
    // (The Go 1.9 and later gc compilers already do.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    # Usage: setup_venv_test.sh venv_and_symlink_name "glob pattern for one wheel file"
    # Example: setup_venv_test.sh bazel_pip "/tf/pkg/*.whl"
    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    python -m venv /$1
    mkdir -p $1
    rm -f ./$1/tensorflow
    ln -s $(ls /$1/lib) /$1/lib/python3
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    	if err := os.Symlink(fmt.Sprintf("%s/inode/symlink/loop", tmpDir), fmt.Sprintf("%s/inode/symlink/loop", tmpDir)); err != nil {
    		t.Fatalf("error creating test file: %v", err)
    	}
    
    	tests := []struct {
    		name      string
    		recursive bool
    		directory string
    	}{
    		{"symlink", false, fmt.Sprintf("%s/inode/symlink/pod-link", tmpDir)},
    		{"symlink", true, fmt.Sprintf("%s/inode/symlink/pod-link", tmpDir)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  7. hack/update-go-workspace.sh

    # This script generates go.work so that it includes all Go packages
    # in this repo, with a few exceptions.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # Go tools really don't like it if you have a symlink in `pwd`.
    cd "$(pwd -P)"
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
    kube::golang::setup_env
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 10 15:44:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/README

    stop [msg]
    	stop execution of the script
    
    	The message is written to the script log, but no error is
    	reported from the script engine.
    
    symlink path -> target
    	create a symlink
    
    	Creates path as a symlink to target.
    	The '->' token (like in 'ls -l' output on Unix) is required.
    
    wait 
    	wait for completion of background commands
    
    	Waits for all background commands to complete.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. build/build-image/rsyncd.sh

    USER_CONFIG=
    if [[ "$(id -u)" == "0" ]]; then
      USER_CONFIG="  uid = 0"$'\n'"  gid = 0"
    fi
    
    cat <<EOF >"${CONFFILE}"
    pid file = ${PIDFILE}
    use chroot = no
    log file = /dev/stdout
    reverse lookup = no
    munge symlinks = no
    port = 8730
    [k8s]
      numeric ids = true
      $USER_CONFIG
      hosts deny = *
      hosts allow = ${ALLOW} ${ALLOW_HOST-}
      auth users = k8s
      secrets file = ${SECRETS}
      read only = false
      path = ${VOLUME}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 04 15:58:52 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/lockedfile/lockedfile_filelock.go

    		if err := f.Truncate(0); err != nil {
    			// The documentation for os.O_TRUNC says “if possible, truncate file when
    			// opened”, but doesn't define “possible” (golang.org/issue/28699).
    			// We'll treat regular files (and symlinks to regular files) as “possible”
    			// and ignore errors for the rest.
    			if fi, statErr := f.Stat(); statErr != nil || fi.Mode().IsRegular() {
    				filelock.Unlock(f)
    				f.Close()
    				return nil, err
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top