Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ParseMountInfo (0.45 sec)

  1. pkg/volume/util/hostutil/hostutil_linux.go

    		if strings.HasPrefix(opt, "shared:") {
    			return true, nil
    		}
    	}
    	return false, nil
    }
    
    func findMountInfo(path, mountInfoPath string) (mount.MountInfo, error) {
    	infos, err := mount.ParseMountInfo(mountInfoPath)
    	if err != nil {
    		return mount.MountInfo{}, err
    	}
    
    	// process /proc/xxx/mountinfo in backward order and find the first mount
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top