Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MountSensitiveWithoutSystemd (0.28 sec)

  1. pkg/kubelet/util/swap/swap_util.go

    		}
    
    		defer func() {
    			err = os.RemoveAll(mountPath)
    			if err != nil {
    				klog.ErrorS(err, "error removing test tmpfs dir", "mount path", mountPath)
    			}
    		}()
    
    		err = mounter.MountSensitiveWithoutSystemd("tmpfs", mountPath, "tmpfs", []string{TmpfsNoswapOption}, nil)
    		if err != nil {
    			klog.InfoS("error mounting tmpfs with the noswap option. Assuming not supported", "error", err)
    			return false
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. pkg/volume/emptydir/empty_dir.go

    	klog.V(3).Infof("pod %v: mounting tmpfs for volume %v", ed.pod.UID, ed.volName)
    	return ed.mounter.MountSensitiveWithoutSystemd("tmpfs", dir, "tmpfs", options, nil)
    }
    
    // setupHugepages creates a hugepage mount at the specified directory.
    func (ed *emptyDir) setupHugepages(dir string) error {
    	if ed.mounter == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. pkg/volume/nfs/nfs.go

    	options := []string{}
    	if nfsMounter.readOnly {
    		options = append(options, "ro")
    	}
    	mountOptions := util.JoinMountOptions(nfsMounter.mountOptions, options)
    	err = nfsMounter.mounter.MountSensitiveWithoutSystemd(source, dir, "nfs", mountOptions, nil)
    	if err != nil {
    		notMnt, mntErr := mount.IsNotMountPoint(nfsMounter.mounter, dir)
    		if mntErr != nil {
    			klog.Errorf("IsNotMountPoint check failed: %v", mntErr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. pkg/volume/local/local.go

    	}
    	mountOptions := util.JoinMountOptions(options, m.mountOptions)
    
    	klog.V(4).Infof("attempting to mount %s", dir)
    	globalPath := util.MakeAbsolutePath(runtime.GOOS, m.globalPath)
    	err = m.mounter.MountSensitiveWithoutSystemd(globalPath, dir, "", mountOptions, nil)
    	if err != nil {
    		klog.Errorf("Mount of volume %s failed: %v", dir, err)
    		notMnt, mntErr := mount.IsNotMountPoint(m.mounter, dir)
    		if mntErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top