Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for mountInfo (0.39 sec)

  1. internal/mountinfo/mountinfo_linux_test.go

    		}
    		mp = mountInfo{"/dev/1", "/path/to/1", "type1", []string{"flags"}, "1", "1"}
    		if !mountPointsEqual(mounts[1], mp) {
    			t.Errorf("got unexpected mountInfo[1]: %#v", mounts[1])
    		}
    		mp = mountInfo{"/dev/2", "/path/to/2", "type2", []string{"flags", "1", "2=3"}, "2", "2"}
    		if !mountPointsEqual(mounts[2], mp) {
    			t.Errorf("got unexpected mountInfo[2]: %#v", mounts[2])
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/debugging/reorder-disks/main.go

    	result := make(map[string]string)
    
    	mountInfo, err := os.Open("/proc/self/mountinfo")
    	if err != nil {
    		return nil, err
    	}
    	defer mountInfo.Close()
    
    	scanner := bufio.NewScanner(mountInfo)
    	for scanner.Scan() {
    		s := strings.Split(scanner.Text(), " ")
    		if len(s) != 11 {
    			return nil, errors.New("unsupported /proc/self/mountinfo format")
    		}
    		result[s[2]] = s[9]
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. pkg/volume/util/hostutil/hostutil_linux.go

    }
    
    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
    	// point that is prefix of 'path' - that's the mount where path resides
    	var info *mount.MountInfo
    	for i := len(infos) - 1; i >= 0; i-- {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. go.mod

    	github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible // indirect
    	github.com/mitchellh/go-wordwrap v1.0.1 // indirect
    	github.com/moby/spdystream v0.2.0 // indirect
    	github.com/moby/sys/mountinfo v0.6.2 // indirect
    	github.com/moby/term v0.0.0-20221205130635-1aeaba878587 // indirect
    	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    	github.com/modern-go/reflect2 v1.0.2 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. cmd/endpoint.go

    	"strings"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/mountinfo"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    	"golang.org/x/exp/slices"
    )
    
    // EndpointType - enum for endpoint type.
    type EndpointType int
    
    const (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. go.sum

    github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8=
    github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c=
    github.com/moby/sys/mountinfo v0.6.2 h1:BzJjoreD5BMFNmD9Rus6gdd1pLuecOFPt8wC+Vygl78=
    github.com/moby/sys/mountinfo v0.6.2/go.mod h1:IJb6JQeOklcdMU9F5xQ8ZALD+CUr5VlGpwtX+VE0rpI=
    github.com/moby/term v0.0.0-20221205130635-1aeaba878587 h1:HfkjXDfhgVaN5rmueG8cL8KKeFNecRCXFhaJ2qZ5SKA=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 93.1K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.26.md

    - github.com/matttproud/golang_protobuf_extensions: [v1.0.1 → v1.0.2](https://github.com/matttproud/golang_protobuf_extensions/compare/v1.0.1...v1.0.2)
    - github.com/moby/sys/mountinfo: [v0.6.0 → v0.6.2](https://github.com/moby/sys/mountinfo/compare/v0.6.0...v0.6.2)
    - github.com/moby/term: [3f7ff69 → 39b0c02](https://github.com/moby/term/compare/3f7ff69...39b0c02)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.24.md

    - github.com/google/cel-go: [v0.9.0 → v0.10.1](https://github.com/google/cel-go/compare/v0.9.0...v0.10.1)
    - github.com/moby/sys/mountinfo: [v0.4.1 → v0.6.0](https://github.com/moby/sys/mountinfo/compare/v0.4.1...v0.6.0)
    - github.com/moby/term: [9d4ed18 → 3f7ff69](https://github.com/moby/term/compare/9d4ed18...3f7ff69)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
  9. src/syscall/ztypes_openbsd_riscv64.go

    	F_namemax     uint32
    	F_owner       uint32
    	F_ctime       uint64
    	F_fstypename  [16]int8
    	F_mntonname   [90]int8
    	F_mntfromname [90]int8
    	F_mntfromspec [90]int8
    	Pad_cgo_0     [2]byte
    	Mount_info    [160]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno       uint64
    	Off          int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:38 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go

    	F_fsid        Fsid
    	F_namemax     uint32
    	F_owner       uint32
    	F_ctime       uint64
    	F_fstypename  [16]byte
    	F_mntonname   [90]byte
    	F_mntfromname [90]byte
    	F_mntfromspec [90]byte
    	_             [2]byte
    	Mount_info    [160]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top