- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 294 for Mounts (0.2 sec)
-
internal/mountinfo/mountinfo_linux_test.go
mountsPath := filepath.Join(dir, "mounts") if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil { t.Fatal(err) } // Verifies if reading each line worked properly. { var mounts mountInfos mounts, err = readProcMounts(mountsPath) if err != nil { t.Fatal(err) } if len(mounts) != 3 { t.Fatalf("expected 3 mounts, got %d", len(mounts)) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
// At this point if the mount point has a common prefix two conditions can happen. // - mount.Path matches exact with `path` means we can proceed no error here. // - mount.Path doesn't match (means cross-device mount), should error out. if mount.Path != path { crossMounts = append(crossMounts, mount) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go
raw, err := os.ReadFile("/proc/mounts") if err != nil { return err } if !strings.HasSuffix(kubeletRunDirectory, "/") { // trailing "/" is needed to ensure that possibly mounted /var/lib/kubelet is skipped kubeletRunDirectory += "/" } var errList []error mounts := strings.Split(string(raw), "\n") flagsInt := flagsToInt(flags) for _, mount := range mounts { m := strings.Split(mount, " ")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 10:58:44 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/mountinfo/mountinfo.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.1K bytes - Viewed (0) -
pkg/volume/util/fsquota/common/quota_common_linux_impl.go
tmpMounts, err := os.CreateTemp("", "mounts") if err != nil { return "", fmt.Errorf("cannot create temporary mount file: %v", err) } tmpMountsFileName := tmpMounts.Name() defer tmpMounts.Close() defer os.Remove(tmpMountsFileName) mounts, err := os.Open(MountsFile) if err != nil { return "", fmt.Errorf("cannot open mounts file %s: %v", MountsFile, err) } defer mounts.Close()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_windows_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 4.1K bytes - Viewed (0) -
releasenotes/notes/configmap-mount.yaml
apiVersion: release-notes/v2 kind: feature area: installation issue: - 31410 releaseNotes: - | **Improved** configmaps to be read directly rather than from volume mounts. This improves the speed
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 25 15:46:51 UTC 2021 - 311 bytes - Viewed (0) -
releasenotes/notes/fsgroup.yaml
apiVersion: release-notes/v2 kind: feature area: installation issue: - 26882 releaseNotes: - | **Improved** sidecar injection to not modify the pod `securityPolicy.fsGroup` which could conflict with existing settings and secret mounts.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 23 01:09:13 UTC 2020 - 338 bytes - Viewed (0) -
cni/pkg/constants/constants.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/volume/util/fsquota/common/quota_common_linux.go
// FirstQuota is the quota ID we start with. // XXXXXXX Need a better way of doing this... var FirstQuota QuotaID = 1048577 // MountsFile is the location of the system mount data var MountsFile = "/proc/self/mounts" // MountParseRegexp parses out /proc/sys/self/mounts var MountParseRegexp = regexp.MustCompilePOSIX("^([^ ]*)[ \t]*([^ ]*)[ \t]*([^ ]*)") // Ignore options etc. // LinuxVolumeQuotaProvider returns an appropriate quota applier
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 28 06:09:31 UTC 2023 - 3.2K bytes - Viewed (0)