Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 123 for fsType (0.11 sec)

  1. internal/mountinfo/mountinfo_linux_test.go

    			}
    		}
    	}
    }
    
    // Helpers for tests.
    
    // Check if two `mountInfo` are equal.
    func mountPointsEqual(a, b mountInfo) bool {
    	if a.Device != b.Device || a.Path != b.Path || a.FSType != b.FSType || !slicesEqual(a.Options, b.Options) || a.Pass != b.Pass || a.Freq != b.Freq {
    		return false
    	}
    	return true
    }
    
    // Checks if two string slices are equal.
    func slicesEqual(a, b []string) bool {
    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. internal/disk/stat_windows.go

    	}
    
    	info = Info{
    		Total:  uint64(lpTotalNumberOfBytes),
    		Free:   uint64(lpTotalNumberOfFreeBytes),
    		Used:   uint64(lpTotalNumberOfBytes) - uint64(lpTotalNumberOfFreeBytes),
    		FSType: getFSType(path),
    	}
    
    	// Return values of GetDiskFreeSpace()
    	lpSectorsPerCluster := uint32(0)
    	lpBytesPerSector := uint32(0)
    	lpNumberOfFreeClusters := uint32(0)
    	lpTotalNumberOfClusters := uint32(0)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/syscall/ztypes_solaris_amd64.go

    	Uid       uint32
    	Gid       uint32
    	Rdev      uint64
    	Size      int64
    	Atim      Timespec
    	Mtim      Timespec
    	Ctim      Timespec
    	Blksize   int32
    	Pad_cgo_0 [4]byte
    	Blocks    int64
    	Fstype    [16]int8
    }
    
    type Flock_t struct {
    	Type      int16
    	Whence    int16
    	Pad_cgo_0 [4]byte
    	Start     int64
    	Len       int64
    	Sysid     int32
    	Pid       int32
    	Pad       [4]int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  4. internal/mountinfo/mountinfo_linux.go

    		// Pass should be an integer.
    		if _, err := strconv.Atoi(fields[5]); err != nil {
    			return nil, err
    		}
    
    		mounts = append(mounts, mountInfo{
    			Device:  fields[0],
    			Path:    fields[1],
    			FSType:  fields[2],
    			Options: strings.Split(fields[3], ","),
    			Freq:    fields[4],
    			Pass:    fields[5],
    		})
    	}
    	return mounts, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  5. internal/disk/stat_linux.go

    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:  uint64(s.Frsize) * s.Bavail,
    		Files: s.Files,
    		Ffree: s.Ffree,
    		//nolint:unconvert
    		FSType: getFSType(int64(s.Type)),
    	}
    
    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    	if err != nil {
    		return Info{}, err
    	}
    	//nolint:unconvert
    	devID := uint64(st.Dev) // Needed to support multiple GOARCHs
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    	Ino     uint64
    	Mode    uint32
    	Nlink   uint32
    	Uid     uint32
    	Gid     uint32
    	Rdev    uint64
    	Size    int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Blksize int32
    	Blocks  int64
    	Fstype  [16]int8
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Sysid  int32
    	Pid    int32
    	Pad    [4]int64
    }
    
    type Dirent struct {
    	Ino    uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. pkg/controller/volume/expand/expand_controller_test.go

    			Driver:       pluginName,
    			VolumeHandle: volumeName,
    		}
    	} else {
    		pv.Spec.PersistentVolumeSource.AWSElasticBlockStore = &v1.AWSElasticBlockStoreVolumeSource{
    			VolumeID: volumeName,
    			FSType:   "ext4",
    		}
    	}
    	return pv
    }
    
    func getFakePersistentVolumeClaim(pvcName, volumeName, statusSize, requestSize string, uid types.UID) *v1.PersistentVolumeClaim {
    	pvc := &v1.PersistentVolumeClaim{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. pkg/volume/portworx/portworx_test.go

    		t.Errorf("Can't find the plugin by name")
    	}
    	spec := &v1.Volume{
    		Name: "vol1",
    		VolumeSource: v1.VolumeSource{
    			PortworxVolume: &v1.PortworxVolumeSource{
    				VolumeID: PortworxTestVolume,
    				FSType:   "ext4",
    			},
    		},
    	}
    	fakeManager := &fakePortworxManager{}
    	// Test Mounter
    	fakeMounter := mount.NewFakeMounter(nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 21 02:17:04 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  9. pkg/volume/flexvolume/driver-call.go

    	unmountDeviceCmd = "unmountdevice"
    
    	mountCmd   = "mount"
    	unmountCmd = "unmount"
    
    	expandVolumeCmd = "expandvolume"
    	expandFSCmd     = "expandfs"
    
    	// Option keys
    	optionFSType         = "kubernetes.io/fsType"
    	optionReadWrite      = "kubernetes.io/readwrite"
    	optionKeySecret      = "kubernetes.io/secret"
    	optionFSGroup        = "kubernetes.io/mounterArgs.FsGroup"
    	optionPVorVolumeName = "kubernetes.io/pvOrVolumeName"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 25 02:39:55 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Ypixel uint16
    }
    
    type W_Mnth struct {
    	Hid   [4]byte
    	Size  int32
    	Cur1  int32 //32bit pointer
    	Cur2  int32 //^
    	Devno uint32
    	_     [4]byte
    }
    
    type W_Mntent struct {
    	Fstype       uint32
    	Mode         uint32
    	Dev          uint32
    	Parentdev    uint32
    	Rootino      uint32
    	Status       byte
    	Ddname       [9]byte
    	Fstname      [9]byte
    	Fsname       [45]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top