Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Mills (0.15 sec)

  1. internal/mountinfo/mountinfo_linux.go

    		return fmt.Errorf(msg, path, crossMounts)
    	}
    	return nil
    }
    
    // readProcMounts reads the given mountFilePath (normally /proc/mounts) and produces a hash
    // of the contents.  If the out argument is not nil, this fills it with MountPoint structs.
    func readProcMounts(mountFilePath string) (mountInfos, error) {
    	file, err := os.Open(mountFilePath)
    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
Back to top