Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for CAmount (0.14 sec)

  1. internal/mountinfo/mountinfo_linux.go

    	}
    	var crossMounts mountInfos
    	for _, mount := range mts {
    		// Add a separator to indicate that this is a proper mount-point.
    		// This is to avoid a situation where prefix is '/tmp/fsmount'
    		// and mount path is /tmp/fs. In such a scenario we need to check for
    		// `/tmp/fs/` to be a common prefix amount other mounts.
    		mpath := strings.TrimSuffix(mount.Path, "/") + "/"
    		ppath := strings.TrimSuffix(path, "/") + "/"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  2. internal/lock/lock_nix.go

    	return lockedOpenFile(path, flag, perm, syscall.LOCK_NB)
    }
    
    // LockedOpenFile - initializes a new lock and protects
    // the file from concurrent access across mount points.
    // This implementation doesn't support all the open
    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  3. internal/config/browser/browser.go

    const (
    	// browserCSPPolicy setting name for Content-Security-Policy response header value
    	browserCSPPolicy = "csp_policy"
    	// browserHSTSSeconds setting name for Strict-Transport-Security response header, amount of seconds for 'max-age'
    	browserHSTSSeconds = "hsts_seconds"
    	// browserHSTSIncludeSubdomains setting name for Strict-Transport-Security response header 'includeSubDomains' flag (true or false)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. docs/tls/kubernetes/README.md

    `/<user-running-minio>/.minio/certs`.
    
    *Tip*: In a standard Kubernetes configuration, this will be `/root/.minio/certs`. Kubernetes will mount the secrets volume read-only,
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3K bytes
    - Viewed (0)
  5. internal/disk/stat_linux.go

    			}
    			if devName != "" {
    				info.Name = devName
    				qst, err := bfs.SysBlockDeviceQueueStats(devName)
    				if err != nil { // Mostly not found error
    					// Check if there is a parent device:
    					//   e.g. if the mount is based on /dev/nvme0n1p1, let's calculate the
    					//        real device name (nvme0n1) to get its sysfs information
    					parentDevPath, e := os.Readlink("/sys/class/block/" + devName)
    					if e == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. docs/docker/README.md

      quay.io/minio/minio server /data
    ```
    
    `MINIO_ROOT_USER_FILE` and `MINIO_ROOT_PASSWORD_FILE` also support custom absolute paths, in case Docker secrets are mounted to custom locations or other tools are used to mount secrets into the container. For example, HashiCorp Vault injects secrets to `/vault/secrets`. With the custom names above, set the environment variables to
    
    ```
    MINIO_ROOT_USER_FILE=/vault/secrets/my_access_key
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  7. buildscripts/verify-healing-with-root-disks.sh

    		mkdir -p ${WORK_DIR}/mnt/disk${i}/
    		sudo mount ${device} ${WORK_DIR}/mnt/disk${i}/
    		sudo chown "$(id -u):$(id -g)" ${device} ${WORK_DIR}/mnt/disk${i}/
    	done
    	set +e
    }
    
    # Start a distributed MinIO setup, unmount one disk and check if it is formatted
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    	start_minio ${start_port}
    
    	# Unmount the disk, after the unmount the device id
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_linux_test.go

    			t.Errorf("got unexpected mountInfo[2]: %#v", mounts[2])
    		}
    	}
    	// Error cases where parsing fails with invalid Freq and Pass params.
    	{
    		errorCases := []string{
    			"/dev/1 /path/to/mount type flags a 0\n",
    			"/dev/2 /path/to/mount type flags 0 b\n",
    		}
    		for _, ec := range errorCases {
    			_, rerr := parseMountFrom(strings.NewReader(ec))
    			if rerr == nil {
    				t.Errorf("expected error")
    			}
    		}
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_windows.go

    	case windows.DRIVE_FIXED, windows.DRIVE_REMOVABLE, windows.DRIVE_REMOTE, windows.DRIVE_RAMDISK:
    		// Recognize "fixed", "removable", "remote" and "ramdisk" drives as proper drives
    		// which can be treated as an actual mount-point, rest can be ignored.
    		// https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-getdrivetypew
    		mountPointCache.Store(path, true)
    		return true
    	}
    	mountPointCache.Store(path, false)
    	return false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2K bytes
    - Viewed (0)
  10. cmd/os_unix.go

    		if osErrToFileErr(err) == errFileNotFound {
    			return nil
    		}
    		if !osIsPermission(err) {
    			return osErrToFileErr(err)
    		}
    		// There may be permission error when dirPath
    		// is at the root of the disk mount that may
    		// not have the permissions to avoid 'noatime'
    		fd, err = openFileWithFD(dirPath, os.O_RDONLY, 0o666)
    		if err != nil {
    			if osErrToFileErr(err) == errFileNotFound {
    				return nil
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top