Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for mountpoint (0.33 sec)

  1. internal/mountinfo/mountinfo_linux.go

    	expectedNumFieldsPerLine = 6
    	// Location of the mount file to use
    	procMountsPath = "/proc/mounts"
    )
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(path string) bool {
    	s1, err := os.Lstat(path)
    	if err != nil {
    		return false
    	}
    
    	// A symlink can never be a mount point
    	if s1.Mode()&os.ModeSymlink != 0 {
    		return false
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. internal/mountinfo/mountinfo_others.go

    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(file string) bool {
    	return false
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. internal/mountinfo/mountinfo_windows.go

    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // mountPointCache contains results of IsLikelyMountPoint
    var mountPointCache sync.Map
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(path string) bool {
    	path = filepath.Dir(path)
    	if v, ok := mountPointCache.Load(path); ok {
    		if b, ok := v.(bool); ok {
    			return b
    		}
    	}
    	wpath, _ := windows.UTF16PtrFromString(path)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. cmd/storage-errors.go

    var errDiskFull = StorageErr("drive path full")
    
    // errDiskNotDir - cannot use storage disk if its not a directory
    var errDiskNotDir = StorageErr("drive is not directory or mountpoint")
    
    // errDiskNotFound - cannot find the underlying configured disk anymore.
    var errDiskNotFound = StorageErr("drive not found")
    
    // errDiskOngoingReq - indicates if the disk has an on-going request in progress.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo_linux_test.go

    			t.Fatalf("expected 3 mounts, got %d", len(mounts))
    		}
    		mp := mountInfo{"/dev/0", "/path/to/0", "type0", []string{"flags"}, "0", "0"}
    		if !mountPointsEqual(mounts[0], mp) {
    			t.Errorf("got unexpected MountPoint[0]: %#v", mounts[0])
    		}
    		mp = mountInfo{"/dev/1", "/path/to/1", "type1", []string{"flags"}, "1", "1"}
    		if !mountPointsEqual(mounts[1], mp) {
    			t.Errorf("got unexpected mountInfo[1]: %#v", mounts[1])
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.10.md

    ## Non-user-facing Changes
    
    * CRI now uses moutpoint as image filesystem identifier instead of UUID. ([#59475](https://github.com/kubernetes/kubernetes/pull/59475), [@Random-Liu](https://github.com/Random-Liu))
    
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.26.md

    - NOTE ([#113749](https://github.com/kubernetes/kubernetes/pull/113749), [@jpbetz](https://github.com/jpbetz)) [SIG API Machinery]
    - Nested `MountPoints` are now grouped correctly on all cases. ([#112571](https://github.com/kubernetes/kubernetes/pull/112571), [@claudiubelu](https://github.com/claudiubelu))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
Back to top