Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for Mount_info (0.08 sec)

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

    	}
    }
    
    func writeFile(content string) (string, string, error) {
    	tempDir, err := os.MkdirTemp("", "mounter_shared_test")
    	if err != nil {
    		return "", "", err
    	}
    	filename := filepath.Join(tempDir, "mountinfo")
    	err = os.WriteFile(filename, []byte(content), 0600)
    	if err != nil {
    		os.RemoveAll(tempDir)
    		return "", "", err
    	}
    	return tempDir, filename, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top